databricks-cli/cmd
Andrew Nester d11128c638
Fixed jobs create command to only accept JSON payload (#498)
## Changes
Fixed jobs create command to only accept JSON payload.

Note: relies on this PR from Go SDK
https://github.com/databricks/databricks-sdk-go/pull/522

## Tests

```
andrew.nester@HFW9Y94129 cli % ./cli jobs create -h
Create a new job.

  Create a new job.

Usage:
  databricks jobs create [flags]

Flags:
  -h, --help        help for create
      --json JSON   either inline JSON string or @path/to/file.json with request body (default JSON (0 bytes))

Global Flags:
  -e, --environment string       bundle environment to use (if applicable)
      --log-file file            file to write logs to (default stderr)
      --log-format type          log output format (text or json) (default text)
      --log-level format         log level (default disabled)
  -o, --output type              output type: text or json (default text)
  -p, --profile string           ~/.databrickscfg profile
      --progress-format format   format for progress logs (append, inplace, json) (default default)
 ```
2023-06-21 09:25:29 +02:00
..
account Fixed jobs create command to only accept JSON payload (#498) 2023-06-21 09:25:29 +02:00
api Rename bricks -> databricks (#389) 2023-05-16 18:35:39 +02:00
auth Do not use FgWhite and FgBlack for terminal output (#435) 2023-06-05 17:30:40 +02:00
bundle Fix force flag not working for bundle destroy (#434) 2023-06-19 12:31:07 +02:00
configure Update configure command (#482) 2023-06-15 12:50:19 +00:00
fs Add filer.Filer implementation backed by the Files API (#474) 2023-06-19 18:29:13 +00:00
root Do not use white color as string output (#489) 2023-06-16 13:55:22 +00:00
sync Added support for bundle.Seq, simplified Mutator.Apply interface (#403) 2023-05-24 14:45:19 +02:00
version Use cmdio in version command for `--output` flag (#419) 2023-06-01 12:03:22 +02:00
workspace Fixed jobs create command to only accept JSON payload (#498) 2023-06-21 09:25:29 +02:00