databricks-cli/libs
shreyas-goenka ddc0237468
Error out if question prompts are used in json mode (#340)
## Changes
This PR disallows questions in json mode

## Tests
Manually and unit test
```
shreyas.goenka@THW32HFW6T job-output % bricks bundle destroy --progress-format=json
The following resources will be removed:
{
  "resource_type": "databricks_job",
  "action": "delete",
  "resource_name": "foo"
}
Error: question prompts are not supported in json mode
```
2023-04-18 17:13:49 +02:00
..
auth Make `bricks auth` use `all-apis` scope (#304) 2023-04-05 10:18:13 +02:00
cmdio Error out if question prompts are used in json mode (#340) 2023-04-18 17:13:49 +02:00
databrickscfg Bump github.com/databricks/databricks-sdk-go from 0.5.0 to 0.6.0 (#299) 2023-04-03 21:33:21 +02:00
filer Path escape file path in filer interface (#254) 2023-03-17 17:42:35 +01:00
fileset Don't sync symlink folders (#205) 2023-02-15 17:02:54 +01:00
flags Revert "Configure log level to info by default (#267)" (#307) 2023-04-05 15:37:09 +02:00
git Add tests for fileSet adding `databricks` to .gitignore (#325) 2023-04-12 12:04:10 +02:00
locker Acquire lock prior to deploy (#270) 2023-03-22 16:37:26 +01:00
log Trim log source field to basename of file (#273) 2023-03-23 08:56:39 +01:00
notebook Error out if notebook file does not exist locally (#261) 2023-03-21 18:13:16 +01:00
sync Log mutator messages using progress logger (#312) 2023-04-18 16:55:06 +02:00
terraform Add bundle destroy command (#300) 2023-04-06 12:54:58 +02:00
testfile Refactor and cover edge cases in sync integration tests (#160) 2023-01-10 13:16:30 +01:00