mirror of https://github.com/databricks/cli.git
12 lines
410 B
Plaintext
12 lines
410 B
Plaintext
trace $CLI bundle exec -- echo "hello, world"
|
|
|
|
# The CLI should not parse the --help flag and should try to run it as an executable
|
|
# instead.
|
|
errcode trace $CLI bundle exec -- --help
|
|
|
|
# The error message should include the exit code.
|
|
errcode trace $CLI bundle exec -- bash -c "exit 5"
|
|
|
|
# stderr should also be passed through.
|
|
trace $CLI bundle exec -- python3 -c "import sys; print('Hello', file=sys.stderr)"
|