diff --git a/acceptance/help/output.txt b/acceptance/help/output.txt index d572b4c32a3..2f32ff953d9 100644 --- a/acceptance/help/output.txt +++ b/acceptance/help/output.txt @@ -178,12 +178,12 @@ Domains domains *Beta* Manage domains for organizing and discovering data assets. Developer Tools + air *Public Preview* Run and manage AI Runtime training workloads bundle Declarative Automation Bundles let you express data/AI/analytics projects as code. sync Synchronize a local directory to a workspace directory Additional Commands: account Databricks Account Commands - air Run and manage AI Runtime training workloads aitools Databricks skills and plugins for coding agents api Perform Databricks API call auth Authentication related commands diff --git a/cmd/air/air.go b/cmd/air/air.go index 928a62b7c0f..2fae3f3cb7f 100644 --- a/cmd/air/air.go +++ b/cmd/air/air.go @@ -10,8 +10,9 @@ import ( // New returns the root command for the AI Runtime CLI. func New() *cobra.Command { cmd := &cobra.Command{ - Use: "air", - Short: "Run and manage AI Runtime training workloads", + Use: "air", + Short: "*Public Preview* Run and manage AI Runtime training workloads", + GroupID: "development", Long: `Run and manage AI Runtime training workloads on Databricks serverless GPU compute. These commands are under active development.`, diff --git a/cmd/air/air_test.go b/cmd/air/air_test.go index 39a84eed2ef..f6f497bfa8f 100644 --- a/cmd/air/air_test.go +++ b/cmd/air/air_test.go @@ -23,6 +23,13 @@ func TestNewRegistersAllSubcommands(t *testing.T) { assert.Len(t, registered, len(want), "unexpected number of subcommands") } +func TestNewHelpMetadata(t *testing.T) { + cmd := New() + + assert.Equal(t, "development", cmd.GroupID) + assert.Contains(t, cmd.Short, "*Public Preview*") +} + func TestRunErrorIncludesDebugTip(t *testing.T) { originalErr := errors.New("failed") runCommand := &cobra.Command{