databricks-cli/cmd/account
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
..
access-control Add usage string when command fails with incorrect arguments (#1276) 2024-03-12 14:12:34 +00:00
billable-usage Add usage string when command fails with incorrect arguments (#1276) 2024-03-12 14:12:34 +00:00
budgets Add usage string when command fails with incorrect arguments (#1276) 2024-03-12 14:12:34 +00:00
credentials Update Go SDK to v0.34.0 (#1256) 2024-03-06 09:53:44 +00:00
csp-enablement-account Add usage string when command fails with incorrect arguments (#1276) 2024-03-12 14:12:34 +00:00
custom-app-integration Add usage string when command fails with incorrect arguments (#1276) 2024-03-12 14:12:34 +00:00
encryption-keys Add usage string when command fails with incorrect arguments (#1276) 2024-03-12 14:12:34 +00:00
esm-enablement-account Add usage string when command fails with incorrect arguments (#1276) 2024-03-12 14:12:34 +00:00
groups Add usage string when command fails with incorrect arguments (#1276) 2024-03-12 14:12:34 +00:00
ip-access-lists Add usage string when command fails with incorrect arguments (#1276) 2024-03-12 14:12:34 +00:00
log-delivery Add usage string when command fails with incorrect arguments (#1276) 2024-03-12 14:12:34 +00:00
metastore-assignments Add usage string when command fails with incorrect arguments (#1276) 2024-03-12 14:12:34 +00:00
metastores Add usage string when command fails with incorrect arguments (#1276) 2024-03-12 14:12:34 +00:00
network-connectivity Add usage string when command fails with incorrect arguments (#1276) 2024-03-12 14:12:34 +00:00
networks Add usage string when command fails with incorrect arguments (#1276) 2024-03-12 14:12:34 +00:00
o-auth-published-apps Add usage string when command fails with incorrect arguments (#1276) 2024-03-12 14:12:34 +00:00
personal-compute Add usage string when command fails with incorrect arguments (#1276) 2024-03-12 14:12:34 +00:00
private-access Add usage string when command fails with incorrect arguments (#1276) 2024-03-12 14:12:34 +00:00
published-app-integration Add usage string when command fails with incorrect arguments (#1276) 2024-03-12 14:12:34 +00:00
service-principal-secrets Add usage string when command fails with incorrect arguments (#1276) 2024-03-12 14:12:34 +00:00
service-principals Add usage string when command fails with incorrect arguments (#1276) 2024-03-12 14:12:34 +00:00
settings Add usage string when command fails with incorrect arguments (#1276) 2024-03-12 14:12:34 +00:00
storage Update Go SDK to v0.34.0 (#1256) 2024-03-06 09:53:44 +00:00
storage-credentials Add usage string when command fails with incorrect arguments (#1276) 2024-03-12 14:12:34 +00:00
users Add usage string when command fails with incorrect arguments (#1276) 2024-03-12 14:12:34 +00:00
vpc-endpoints Add usage string when command fails with incorrect arguments (#1276) 2024-03-12 14:12:34 +00:00
workspace-assignment Add usage string when command fails with incorrect arguments (#1276) 2024-03-12 14:12:34 +00:00
workspaces Add usage string when command fails with incorrect arguments (#1276) 2024-03-12 14:12:34 +00:00
cmd.go Upgrade Go SDK to 0.27.0 (#1064) 2023-12-14 08:15:00 +00:00
groups.go Remove dependency on global state in generated commands (#595) 2023-07-25 20:19:07 +02:00