Skip to content

Commit d28a752

Browse files
authored
apps: Surface init, manifest, validate, and dev-remote in --help (#5276)
## Summary - Remove `Hidden: true` from four AppKit-related custom commands on `databricks apps` so they appear under "Available Commands" in `--help`: - `init` — initialize a new AppKit application from a template - `manifest` — print the template plugin manifest - `validate` — validate a Databricks App project - `dev-remote` — run AppKit app locally with WebSocket bridge to remote - All four are already implemented, documented, and invokable today — hiding them just makes them undiscoverable through `apps --help`. ## Test plan - [x] `go build` succeeds - [x] `./cli apps --help` lists `init`, `manifest`, `validate`, and `dev-remote` under "Available Commands" - [x] `./cli apps <cmd> --help` still works for each (unchanged) Note: I left the `*-space` / `*-app-thumbnail` workspace API commands hidden — those are auto-generated and explicitly gated as PRIVATE_PREVIEW, separate concern. This pull request and its description were written by Isaac.
1 parent 865d695 commit d28a752

4 files changed

Lines changed: 8 additions & 12 deletions

File tree

cmd/apps/dev.go

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -120,9 +120,8 @@ func newDevRemoteCmd() *cobra.Command {
120120
)
121121

122122
cmd := &cobra.Command{
123-
Use: "dev-remote",
124-
Short: "Run AppKit app locally with WebSocket bridge to remote server",
125-
Hidden: true,
123+
Use: "dev-remote",
124+
Short: "Run AppKit app locally with WebSocket bridge to remote server",
126125
Long: `Run AppKit app locally with WebSocket bridge to remote server.
127126
128127
Starts a local Vite development server and establishes a WebSocket bridge

cmd/apps/init.go

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -81,9 +81,8 @@ func newInitCmd() *cobra.Command {
8181
)
8282

8383
cmd := &cobra.Command{
84-
Use: "init",
85-
Short: "Initialize a new AppKit application from a template",
86-
Hidden: true,
84+
Use: "init",
85+
Short: "Initialize a new AppKit application from a template",
8786
Long: `Initialize a new AppKit application from a template.
8887
8988
When run without arguments, uses the default AppKit template and an interactive prompt

cmd/apps/manifest.go

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -96,9 +96,8 @@ func newManifestCmd() *cobra.Command {
9696
)
9797

9898
cmd := &cobra.Command{
99-
Use: "manifest",
100-
Short: "Print template manifest with available plugins and required resources",
101-
Hidden: true,
99+
Use: "manifest",
100+
Short: "Print template manifest with available plugins and required resources",
102101
Long: `Resolves a template (default AppKit repo or --template URL), locates appkit.plugins.json,
103102
and prints its raw contents to stdout. No workspace authentication is required.
104103

cmd/apps/validate.go

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,8 @@ import (
1212

1313
func newValidateCmd() *cobra.Command {
1414
cmd := &cobra.Command{
15-
Use: "validate",
16-
Short: "Validate a Databricks App project",
17-
Hidden: true,
15+
Use: "validate",
16+
Short: "Validate a Databricks App project",
1817
Long: `Validate a Databricks App project by running build, typecheck, and lint checks.
1918
2019
This command detects the project type and runs the appropriate validation:

0 commit comments

Comments
 (0)