databricks-cli/cmd/bundle
Andrew Nester c7818560ca
Add usage string when command fails with incorrect arguments (#1276)
## Changes
Add usage string when command fails with incorrect arguments

Fixes #1119

## Tests
Example output

```
> databricks libraries cluster-status 
Error: accepts 1 arg(s), received 0

Usage:
  databricks libraries cluster-status CLUSTER_ID [flags]

Flags:
  -h, --help   help for cluster-status

Global Flags:
      --debug            enable debug logging
  -o, --output type      output type: text or json (default text)
  -p, --profile string   ~/.databrickscfg profile
  -t, --target string    bundle target to use (if applicable)
```
2024-03-12 14:12:34 +00:00
..
deployment Add usage string when command fails with incorrect arguments (#1276) 2024-03-12 14:12:34 +00:00
generate Generate correct YAML if custom_tags or spark_conf is used for pipeline or job cluster configuration (#1210) 2024-02-15 15:03:19 +00:00
utils Use dynamic configuration model in bundles (#1098) 2024-02-16 19:41:58 +00:00
bundle.go Added `bundle deployment bind` and `unbind` command (#1131) 2024-02-14 18:04:45 +00:00
deploy.go Add usage string when command fails with incorrect arguments (#1276) 2024-03-12 14:12:34 +00:00
destroy.go Add usage string when command fails with incorrect arguments (#1276) 2024-03-12 14:12:34 +00:00
generate.go Added `bundle deployment bind` and `unbind` command (#1131) 2024-02-14 18:04:45 +00:00
init.go Add usage string when command fails with incorrect arguments (#1276) 2024-03-12 14:12:34 +00:00
init_test.go Improve experience for multiple builtin templates (#1052) 2023-12-27 12:03:08 +00:00
launch.go Add usage string when command fails with incorrect arguments (#1276) 2024-03-12 14:12:34 +00:00
run.go Add usage string when command fails with incorrect arguments (#1276) 2024-03-12 14:12:34 +00:00
schema.go Add usage string when command fails with incorrect arguments (#1276) 2024-03-12 14:12:34 +00:00
summary.go Add usage string when command fails with incorrect arguments (#1276) 2024-03-12 14:12:34 +00:00
sync.go Add usage string when command fails with incorrect arguments (#1276) 2024-03-12 14:12:34 +00:00
test.go Remove dependency on global state for remaining commands (#613) 2023-07-27 10:03:08 +00:00
validate.go Add usage string when command fails with incorrect arguments (#1276) 2024-03-12 14:12:34 +00:00
variables.go Added `bundle deployment bind` and `unbind` command (#1131) 2024-02-14 18:04:45 +00:00