From 987220b9de6321fdbe70244a0e337341540a7dd4 Mon Sep 17 00:00:00 2001 From: Shreyas Goenka Date: Tue, 11 Mar 2025 12:54:20 +0100 Subject: [PATCH] update docs --- cmd/bundle/exec.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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"