databricks-cli/cmd/account
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
..
access-control Remove dependency on global state in generated commands (#595) 2023-07-25 20:19:07 +02:00
billable-usage Fix rendering of streaming response (#876) 2023-10-17 10:07:55 +00:00
budgets Release v0.202.0 (#619) 2023-07-27 13:23:55 +00:00
credentials Release v0.202.0 (#619) 2023-07-27 13:23:55 +00:00
custom-app-integration Updated Go SDK to 0.22.0 (#831) 2023-10-03 11:46:16 +00:00
encryption-keys Remove dependency on global state in generated commands (#595) 2023-07-25 20:19:07 +02:00
groups Bump the Go SDK in the CLI (#919) 2023-10-26 11:41:28 +00:00
ip-access-lists Release v0.202.0 (#619) 2023-07-27 13:23:55 +00:00
log-delivery Improve error message when `--json` flag is specified (#933) 2023-11-08 15:07:29 +00:00
metastore-assignments Updated Go SDK to 0.22.0 (#831) 2023-10-03 11:46:16 +00:00
metastores Simplified code generation logic for handling path and request body parameters and JSON input (#905) 2023-10-24 17:37:08 +00:00
network-policy Bump the Go SDK in the CLI (#919) 2023-10-26 11:41:28 +00:00
networks Improve error message when `--json` flag is specified (#933) 2023-11-08 15:07:29 +00:00
o-auth-enrollment Simplified code generation logic for handling path and request body parameters and JSON input (#905) 2023-10-24 17:37:08 +00:00
o-auth-published-apps Simplified code generation logic for handling path and request body parameters and JSON input (#905) 2023-10-24 17:37:08 +00:00
private-access Improve error message when `--json` flag is specified (#933) 2023-11-08 15:07:29 +00:00
published-app-integration Simplified code generation logic for handling path and request body parameters and JSON input (#905) 2023-10-24 17:37:08 +00:00
service-principal-secrets Remove dependency on global state in generated commands (#595) 2023-07-25 20:19:07 +02:00
service-principals Bump the Go SDK in the CLI (#919) 2023-10-26 11:41:28 +00:00
settings Simplified code generation logic for handling path and request body parameters and JSON input (#905) 2023-10-24 17:37:08 +00:00
storage Release v0.202.0 (#619) 2023-07-27 13:23:55 +00:00
storage-credentials Update Go SDK to 0.23.0 and use custom marshaller (#772) 2023-10-16 06:56:06 +00:00
users Bump the Go SDK in the CLI (#919) 2023-10-26 11:41:28 +00:00
vpc-endpoints Improve error message when `--json` flag is specified (#933) 2023-11-08 15:07:29 +00:00
workspace-assignment Remove dependency on global state in generated commands (#595) 2023-07-25 20:19:07 +02:00
workspaces Improve error message when `--json` flag is specified (#933) 2023-11-08 15:07:29 +00:00
cmd.go Bump the Go SDK in the CLI (#919) 2023-10-26 11:41:28 +00:00
groups.go Remove dependency on global state in generated commands (#595) 2023-07-25 20:19:07 +02:00