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 |