Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion acceptance/help/output.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
5 changes: 3 additions & 2 deletions cmd/air/air.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.`,
Expand Down
7 changes: 7 additions & 0 deletions cmd/air/air_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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{
Expand Down
Loading