databricks-cli/cmd/fs
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
..
cat.go Add usage string when command fails with incorrect arguments (#1276) 2024-03-12 14:12:34 +00:00
cp.go Add usage string when command fails with incorrect arguments (#1276) 2024-03-12 14:12:34 +00:00
events.go Add fs cp command (#463) 2023-06-16 17:09:08 +02:00
fs.go Add support for UC Volumes to the `databricks fs` commands (#1209) 2024-02-20 16:14:37 +00:00
helpers.go Add dbfs scheme prefix to paths in cp command output (#516) 2023-06-27 14:42:27 +02:00
helpers_test.go Make local files default for fs commands (#506) 2023-06-23 16:07:09 +02:00
ls.go Add usage string when command fails with incorrect arguments (#1276) 2024-03-12 14:12:34 +00:00
mkdir.go Add usage string when command fails with incorrect arguments (#1276) 2024-03-12 14:12:34 +00:00
rm.go Add usage string when command fails with incorrect arguments (#1276) 2024-03-12 14:12:34 +00:00