diff --git a/cmd/bundle/exec.go b/cmd/bundle/exec.go index 023ea3395..3a04d6a98 100644 --- a/cmd/bundle/exec.go +++ b/cmd/bundle/exec.go @@ -20,9 +20,12 @@ func newExecCommand() *cobra.Command { Args: cobra.MinimumNArgs(1), Long: `Execute a command using the same authentication context as the bundle -The current working directory of the provided command will be set to the root +Note: The current working directory of the provided command will be set to the root of the bundle. +Authentication to the input command will be provided by setting the appropriate +environment variables that Databricks tools use to authenticate. + Example usage: 1. databricks bundle exec -- echo "hello, world" 2. databricks bundle exec -- /bin/bash -c "echo hello"