databricks-cli/.codegen
Andrew Nester df3f5863c7
Do not generate prompts for certain commands (#438)
## Changes
Some of the commands do not support prompts, for example `workspace
get-status` but we were wrongly suggesting customers some option.

Quick fix for this is not to provide prompts for these known commands.

Note: it uses a method from this PR in Go SDK
https://github.com/databricks/databricks-sdk-go/pull/416

## Tests
Running `workspace get-status`

Before
```
andrew.nester@HFW9Y94129 multiples-tasks % ../../cli/cli workspace get-status
Error: Path () doesn't start with '/'
```

After
```
andrew.nester@HFW9Y94129 multiples-tasks % ../../cli/cli workspace get-status
Error: accepts 1 arg(s), received 0

```
2023-06-05 19:38:45 +02:00
..
cmds-account.go.tmpl Rename bricks -> databricks (#389) 2023-05-16 18:35:39 +02:00
cmds-workspace.go.tmpl Rename bricks -> databricks (#389) 2023-05-16 18:35:39 +02:00
service.go.tmpl Do not generate prompts for certain commands (#438) 2023-06-05 19:38:45 +02:00