databricks-cli/cmd/workspace/token-management
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
..
overrides.go Remove dependency on global state in generated commands (#595) 2023-07-25 20:19:07 +02:00
token-management.go Improve error message when `--json` flag is specified (#933) 2023-11-08 15:07:29 +00:00