From 2a8940d9729e3cefbacd67be68778f4fc46d0ad6 Mon Sep 17 00:00:00 2001 From: Jan Rose Date: Wed, 15 Apr 2026 11:50:53 +0200 Subject: [PATCH 1/3] Rename Available Commands to Main Commands --- cmd/cmd.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/cmd.go b/cmd/cmd.go index 014471f763..12d80870a3 100644 --- a/cmd/cmd.go +++ b/cmd/cmd.go @@ -77,7 +77,7 @@ func New(ctx context.Context) *cobra.Command { groups := []cobra.Group{ { ID: mainGroup, - Title: "Available Commands", + Title: "Main Commands", }, { ID: pipelines.ManagementGroupID, From d6e412bb29c10d7b27d761259c6a1fcc1a5504f2 Mon Sep 17 00:00:00 2001 From: Jan Rose Date: Wed, 15 Apr 2026 12:33:17 +0200 Subject: [PATCH 2/3] Update acceptance test outputs --- acceptance/bundle/debug/output.txt | 2 +- acceptance/bundle/help/bundle-deployment/output.txt | 2 +- acceptance/bundle/help/bundle-generate/output.txt | 2 +- acceptance/bundle/help/bundle/output.txt | 2 +- acceptance/cmd/unknown-subcommand/output.txt | 2 +- acceptance/cmd/workspace/secrets/output.txt | 2 +- acceptance/pipelines/databricks-cli-help/output.txt | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/acceptance/bundle/debug/output.txt b/acceptance/bundle/debug/output.txt index ce15a99bc9..c99bed3fe7 100644 --- a/acceptance/bundle/debug/output.txt +++ b/acceptance/bundle/debug/output.txt @@ -3,7 +3,7 @@ Debug information about bundles Usage: databricks bundle debug [command] -Available Commands: +Main Commands: refschema Dump all relevant fields all bundle resources states Show available state files diff --git a/acceptance/bundle/help/bundle-deployment/output.txt b/acceptance/bundle/help/bundle-deployment/output.txt index a135735cd4..6abb9e1a63 100644 --- a/acceptance/bundle/help/bundle-deployment/output.txt +++ b/acceptance/bundle/help/bundle-deployment/output.txt @@ -19,7 +19,7 @@ After binding, the existing workspace resource will be managed by your bundle. Usage: databricks bundle deployment [command] -Available Commands: +Main Commands: bind Bind bundle-defined resources to existing resources migrate Migrate from Terraform to Direct deployment engine unbind Unbind bundle-defined resources from its managed remote resource diff --git a/acceptance/bundle/help/bundle-generate/output.txt b/acceptance/bundle/help/bundle-generate/output.txt index 97e8667ac7..7749e07268 100644 --- a/acceptance/bundle/help/bundle-generate/output.txt +++ b/acceptance/bundle/help/bundle-generate/output.txt @@ -26,7 +26,7 @@ Use --bind to automatically bind the generated resource to the existing workspac Usage: databricks bundle generate [command] -Available Commands: +Main Commands: alert Generate configuration for an alert app Generate bundle configuration for a Databricks app dashboard Generate configuration for a dashboard diff --git a/acceptance/bundle/help/bundle/output.txt b/acceptance/bundle/help/bundle/output.txt index 624e18db9c..ac47af9d38 100644 --- a/acceptance/bundle/help/bundle/output.txt +++ b/acceptance/bundle/help/bundle/output.txt @@ -17,7 +17,7 @@ Online documentation: https://docs.databricks.com/en/dev-tools/bundles/index.htm Usage: databricks bundle [command] -Available Commands: +Main Commands: deploy Deploy bundle deployment Deployment related commands destroy Destroy deployed bundle resources diff --git a/acceptance/cmd/unknown-subcommand/output.txt b/acceptance/cmd/unknown-subcommand/output.txt index 14bd12a475..c08281d60d 100644 --- a/acceptance/cmd/unknown-subcommand/output.txt +++ b/acceptance/cmd/unknown-subcommand/output.txt @@ -9,7 +9,7 @@ Usage: databricks secrets [flags] databricks secrets [command] -Available Commands +Main Commands create-scope Create a new secret scope. delete-acl Delete an ACL. delete-scope Delete a secret scope. diff --git a/acceptance/cmd/workspace/secrets/output.txt b/acceptance/cmd/workspace/secrets/output.txt index bfafcb3416..ea2b1b79ba 100644 --- a/acceptance/cmd/workspace/secrets/output.txt +++ b/acceptance/cmd/workspace/secrets/output.txt @@ -15,7 +15,7 @@ Usage: databricks secrets [flags] databricks secrets [command] -Available Commands +Main Commands create-scope Create a new secret scope. delete-acl Delete an ACL. delete-scope Delete a secret scope. diff --git a/acceptance/pipelines/databricks-cli-help/output.txt b/acceptance/pipelines/databricks-cli-help/output.txt index b5d7e4a483..cc84911cb0 100644 --- a/acceptance/pipelines/databricks-cli-help/output.txt +++ b/acceptance/pipelines/databricks-cli-help/output.txt @@ -18,7 +18,7 @@ Usage: databricks pipelines [flags] databricks pipelines [command] -Available Commands +Main Commands deploy Deploy pipelines destroy Destroy a pipelines project dry-run Validate correctness of the pipeline's graph From 4267931e22560183e967643d486536a3cbb1e08a Mon Sep 17 00:00:00 2001 From: Jan Rose Date: Wed, 15 Apr 2026 12:41:49 +0200 Subject: [PATCH 3/3] Revert acceptance test output to Available Commands when no grouping exists --- acceptance/bundle/debug/output.txt | 2 +- acceptance/bundle/help/bundle-deployment/output.txt | 2 +- acceptance/bundle/help/bundle-generate/output.txt | 2 +- acceptance/bundle/help/bundle/output.txt | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/acceptance/bundle/debug/output.txt b/acceptance/bundle/debug/output.txt index c99bed3fe7..ce15a99bc9 100644 --- a/acceptance/bundle/debug/output.txt +++ b/acceptance/bundle/debug/output.txt @@ -3,7 +3,7 @@ Debug information about bundles Usage: databricks bundle debug [command] -Main Commands: +Available Commands: refschema Dump all relevant fields all bundle resources states Show available state files diff --git a/acceptance/bundle/help/bundle-deployment/output.txt b/acceptance/bundle/help/bundle-deployment/output.txt index 6abb9e1a63..a135735cd4 100644 --- a/acceptance/bundle/help/bundle-deployment/output.txt +++ b/acceptance/bundle/help/bundle-deployment/output.txt @@ -19,7 +19,7 @@ After binding, the existing workspace resource will be managed by your bundle. Usage: databricks bundle deployment [command] -Main Commands: +Available Commands: bind Bind bundle-defined resources to existing resources migrate Migrate from Terraform to Direct deployment engine unbind Unbind bundle-defined resources from its managed remote resource diff --git a/acceptance/bundle/help/bundle-generate/output.txt b/acceptance/bundle/help/bundle-generate/output.txt index 7749e07268..97e8667ac7 100644 --- a/acceptance/bundle/help/bundle-generate/output.txt +++ b/acceptance/bundle/help/bundle-generate/output.txt @@ -26,7 +26,7 @@ Use --bind to automatically bind the generated resource to the existing workspac Usage: databricks bundle generate [command] -Main Commands: +Available Commands: alert Generate configuration for an alert app Generate bundle configuration for a Databricks app dashboard Generate configuration for a dashboard diff --git a/acceptance/bundle/help/bundle/output.txt b/acceptance/bundle/help/bundle/output.txt index ac47af9d38..624e18db9c 100644 --- a/acceptance/bundle/help/bundle/output.txt +++ b/acceptance/bundle/help/bundle/output.txt @@ -17,7 +17,7 @@ Online documentation: https://docs.databricks.com/en/dev-tools/bundles/index.htm Usage: databricks bundle [command] -Main Commands: +Available Commands: deploy Deploy bundle deployment Deployment related commands destroy Destroy deployed bundle resources