databricks-cli/cmd/workspace/workspace
Andrew Nester 47e434db2f
Improve error message when `--json` flag is specified (#933)
## Changes
Improve error message when --json input is provided

## Tests
```
cli % databricks model-registry create-model mymodel --json @./input.json              
Error: when --json flag is specified, no positional arguments are required. Provide NAME in your JSON input
```
2023-11-08 15:07:29 +00:00
..
events.go Add workspace import-dir command (#456) 2023-06-12 21:03:46 +02:00
export_dir.go Remove dependency on global state in generated commands (#595) 2023-07-25 20:19:07 +02:00
import_dir.go Remove dependency on global state in generated commands (#595) 2023-07-25 20:19:07 +02:00
overrides.go Add `--file` flag to workspace export command (#794) 2023-10-05 13:20:33 +00:00
workspace.go Improve error message when `--json` flag is specified (#933) 2023-11-08 15:07:29 +00:00