Skip to content

Commit 831096a

Browse files
authored
Update bundle run command description to mention apps (#3454)
## Why <!-- Why are these changes needed? Provide the context that the reviewer might be missing. For example, were there any decisions behind the change that are not reflected in the code itself? --> `databricks bundle run` can start a Databricks app, but `--help` description does not mention that.
1 parent 6b371ac commit 831096a

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

acceptance/bundle/help/bundle-run/output.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11

22
>>> [CLI] bundle run --help
3-
Run the job or pipeline identified by KEY.
3+
Run the job, pipeline or app identified by KEY.
44

55
The KEY is the unique identifier of the resource to run. In addition to
66
customizing the run using any of the available flags, you can also specify

acceptance/bundle/help/bundle/output.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ Available Commands:
2424
generate Generate bundle configuration
2525
init Initialize using a bundle template
2626
open Open a resource in the browser
27-
run Run a job or pipeline update
27+
run Run a job, pipeline update or app
2828
schema Generate JSON Schema for bundle configuration
2929
summary Summarize resources deployed by this bundle
3030
sync Synchronize bundle tree to the workspace

cmd/bundle/run.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,8 +86,8 @@ func keyToRunner(b *bundle.Bundle, arg string) (run.Runner, error) {
8686
func newRunCommand() *cobra.Command {
8787
cmd := &cobra.Command{
8888
Use: "run [flags] [KEY]",
89-
Short: "Run a job or pipeline update",
90-
Long: `Run the job or pipeline identified by KEY.
89+
Short: "Run a job, pipeline update or app",
90+
Long: `Run the job, pipeline or app identified by KEY.
9191
9292
The KEY is the unique identifier of the resource to run. In addition to
9393
customizing the run using any of the available flags, you can also specify

0 commit comments

Comments
 (0)