databricks-cli/cmd/workspace/global-init-scripts
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
..
global-init-scripts.go Improve error message when `--json` flag is specified (#933) 2023-11-08 15:07:29 +00:00