Skip to content
Open
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
1 change: 1 addition & 0 deletions acceptance/help/output.txt
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,7 @@ Developer Tools

Additional Commands:
account Databricks Account Commands
aitools Databricks AI Tools for coding agents
api Perform Databricks API call
auth Authentication related commands
cache Local cache related commands
Expand Down
2 changes: 2 additions & 0 deletions cmd/cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import (
"strings"

"github.com/databricks/cli/cmd/psql"
aitoolscmd "github.com/databricks/cli/experimental/aitools/cmd"
ssh "github.com/databricks/cli/experimental/ssh/cmd"

"github.com/databricks/cli/cmd/account"
Expand Down Expand Up @@ -93,6 +94,7 @@ func New(ctx context.Context) *cobra.Command {
}

// Add other subcommands.
cli.AddCommand(aitoolscmd.NewAitoolsCmd())
cli.AddCommand(api.New())
cli.AddCommand(auth.New())
cli.AddCommand(completion.New())
Expand Down
7 changes: 6 additions & 1 deletion cmd/experimental/experimental.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,12 @@ These commands provide early access to new features that are still under
development. They may change or be removed in future versions without notice.`,
}

cmd.AddCommand(aitoolscmd.NewAitoolsCmd())
// Keep aitools under experimental as a hidden backward-compatibility alias.
// The primary command is now registered at the top level.
aitoolsAlias := aitoolscmd.NewAitoolsCmd()
aitoolsAlias.Hidden = true
aitoolsAlias.Deprecated = "use 'databricks aitools' instead"
cmd.AddCommand(aitoolsAlias)

return cmd
}
5 changes: 2 additions & 3 deletions experimental/aitools/cmd/aitools.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,8 @@ import (

func NewAitoolsCmd() *cobra.Command {
cmd := &cobra.Command{
Use: "aitools",
Hidden: true,
Short: "Databricks AI Tools for coding agents",
Use: "aitools",
Short: "Databricks AI Tools for coding agents",
Long: `Manage Databricks AI Tools.

Provides commands to:
Expand Down
Loading