databricks-cli/cmd
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
..
account Add usage string when command fails with incorrect arguments (#1276) 2024-03-12 14:12:34 +00:00
api Add usage string when command fails with incorrect arguments (#1276) 2024-03-12 14:12:34 +00:00
auth Ignore environment variables for `auth profiles` (#1189) 2024-02-08 12:25:51 +00:00
bundle Add usage string when command fails with incorrect arguments (#1276) 2024-03-12 14:12:34 +00:00
configure Filter out system clusters for `--configure-cluster` (#1031) 2023-11-30 09:59:11 +00:00
fs Add usage string when command fails with incorrect arguments (#1276) 2024-03-12 14:12:34 +00:00
labs Add usage string when command fails with incorrect arguments (#1276) 2024-03-12 14:12:34 +00:00
root Add usage string when command fails with incorrect arguments (#1276) 2024-03-12 14:12:34 +00:00
sync Add usage string when command fails with incorrect arguments (#1276) 2024-03-12 14:12:34 +00:00
version Add usage string when command fails with incorrect arguments (#1276) 2024-03-12 14:12:34 +00:00
workspace Add usage string when command fails with incorrect arguments (#1276) 2024-03-12 14:12:34 +00:00
cmd.go Add `databricks labs` command group (#914) 2023-11-17 12:47:37 +00:00