databricks-cli/cmd/workspace
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
..
alerts Add usage string when command fails with incorrect arguments (#1276) 2024-03-12 14:12:34 +00:00
apps Add usage string when command fails with incorrect arguments (#1276) 2024-03-12 14:12:34 +00:00
artifact-allowlists Add usage string when command fails with incorrect arguments (#1276) 2024-03-12 14:12:34 +00:00
automatic-cluster-update Add usage string when command fails with incorrect arguments (#1276) 2024-03-12 14:12:34 +00:00
catalogs Add usage string when command fails with incorrect arguments (#1276) 2024-03-12 14:12:34 +00:00
clean-rooms Add usage string when command fails with incorrect arguments (#1276) 2024-03-12 14:12:34 +00:00
cluster-policies Add usage string when command fails with incorrect arguments (#1276) 2024-03-12 14:12:34 +00:00
clusters Add usage string when command fails with incorrect arguments (#1276) 2024-03-12 14:12:34 +00:00
connections Add usage string when command fails with incorrect arguments (#1276) 2024-03-12 14:12:34 +00:00
credentials-manager Update Go SDK to v0.34.0 (#1256) 2024-03-06 09:53:44 +00:00
csp-enablement Add usage string when command fails with incorrect arguments (#1276) 2024-03-12 14:12:34 +00:00
current-user Update Go SDK to v0.34.0 (#1256) 2024-03-06 09:53:44 +00:00
dashboard-widgets Add usage string when command fails with incorrect arguments (#1276) 2024-03-12 14:12:34 +00:00
dashboards Add usage string when command fails with incorrect arguments (#1276) 2024-03-12 14:12:34 +00:00
data-sources Update Go SDK to v0.34.0 (#1256) 2024-03-06 09:53:44 +00:00
default-namespace Add usage string when command fails with incorrect arguments (#1276) 2024-03-12 14:12:34 +00:00
esm-enablement Add usage string when command fails with incorrect arguments (#1276) 2024-03-12 14:12:34 +00:00
experiments Add usage string when command fails with incorrect arguments (#1276) 2024-03-12 14:12:34 +00:00
external-locations Add usage string when command fails with incorrect arguments (#1276) 2024-03-12 14:12:34 +00:00
functions Add usage string when command fails with incorrect arguments (#1276) 2024-03-12 14:12:34 +00:00
git-credentials Add usage string when command fails with incorrect arguments (#1276) 2024-03-12 14:12:34 +00:00
global-init-scripts Add usage string when command fails with incorrect arguments (#1276) 2024-03-12 14:12:34 +00:00
grants 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
instance-pools Add usage string when command fails with incorrect arguments (#1276) 2024-03-12 14:12:34 +00:00
instance-profiles 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
jobs Add usage string when command fails with incorrect arguments (#1276) 2024-03-12 14:12:34 +00:00
lakehouse-monitors Add usage string when command fails with incorrect arguments (#1276) 2024-03-12 14:12:34 +00:00
lakeview Add usage string when command fails with incorrect arguments (#1276) 2024-03-12 14:12:34 +00:00
libraries 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
model-registry Add usage string when command fails with incorrect arguments (#1276) 2024-03-12 14:12:34 +00:00
model-versions Add usage string when command fails with incorrect arguments (#1276) 2024-03-12 14:12:34 +00:00
online-tables Add usage string when command fails with incorrect arguments (#1276) 2024-03-12 14:12:34 +00:00
permission-migration Add usage string when command fails with incorrect arguments (#1276) 2024-03-12 14:12:34 +00:00
permissions Add usage string when command fails with incorrect arguments (#1276) 2024-03-12 14:12:34 +00:00
pipelines Add usage string when command fails with incorrect arguments (#1276) 2024-03-12 14:12:34 +00:00
policy-families Add usage string when command fails with incorrect arguments (#1276) 2024-03-12 14:12:34 +00:00
providers Add usage string when command fails with incorrect arguments (#1276) 2024-03-12 14:12:34 +00:00
queries Add usage string when command fails with incorrect arguments (#1276) 2024-03-12 14:12:34 +00:00
query-history Add usage string when command fails with incorrect arguments (#1276) 2024-03-12 14:12:34 +00:00
query-visualizations Add usage string when command fails with incorrect arguments (#1276) 2024-03-12 14:12:34 +00:00
recipient-activation Add usage string when command fails with incorrect arguments (#1276) 2024-03-12 14:12:34 +00:00
recipients Add usage string when command fails with incorrect arguments (#1276) 2024-03-12 14:12:34 +00:00
registered-models Add usage string when command fails with incorrect arguments (#1276) 2024-03-12 14:12:34 +00:00
repos Add usage string when command fails with incorrect arguments (#1276) 2024-03-12 14:12:34 +00:00
restrict-workspace-admins Add usage string when command fails with incorrect arguments (#1276) 2024-03-12 14:12:34 +00:00
schemas Add usage string when command fails with incorrect arguments (#1276) 2024-03-12 14:12:34 +00:00
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
serving-endpoints 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
shares Add usage string when command fails with incorrect arguments (#1276) 2024-03-12 14:12:34 +00:00
storage-credentials Add usage string when command fails with incorrect arguments (#1276) 2024-03-12 14:12:34 +00:00
system-schemas Add usage string when command fails with incorrect arguments (#1276) 2024-03-12 14:12:34 +00:00
table-constraints Add usage string when command fails with incorrect arguments (#1276) 2024-03-12 14:12:34 +00:00
tables Add usage string when command fails with incorrect arguments (#1276) 2024-03-12 14:12:34 +00:00
token-management Add usage string when command fails with incorrect arguments (#1276) 2024-03-12 14:12:34 +00:00
tokens 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
vector-search-endpoints Add usage string when command fails with incorrect arguments (#1276) 2024-03-12 14:12:34 +00:00
vector-search-indexes Add usage string when command fails with incorrect arguments (#1276) 2024-03-12 14:12:34 +00:00
volumes Add usage string when command fails with incorrect arguments (#1276) 2024-03-12 14:12:34 +00:00
warehouses 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
workspace-bindings Add usage string when command fails with incorrect arguments (#1276) 2024-03-12 14:12:34 +00:00
workspace-conf Add usage string when command fails with incorrect arguments (#1276) 2024-03-12 14:12:34 +00:00
cmd.go Update Go SDK to v0.34.0 (#1256) 2024-03-06 09:53:44 +00:00
groups.go Upgrade Go SDK to v0.29.0 (#1111) 2024-01-11 08:16:25 +00:00