databricks-cli/cmd
shreyas-goenka 43bc9a0d9d
Use cmdio logger to log bricks cmd execution errors (#348)
## Changes
Uses the cmdio logger to log the execution error

## Tests
Manually by making the root command return fake errors. Here is the
output:
```
shreyas.goenka@THW32HFW6T bricks % bricks bundle validate
Error: my foo error
```

```
shreyas.goenka@THW32HFW6T bricks % bricks bundle validate --progress-format=json
{
  "error": "my foo error"
}
```

---------

Co-authored-by: Pieter Noordhuis <pieter.noordhuis@databricks.com>
2023-04-24 12:11:52 +02:00
..
api Update databricks-sdk-go to latest (#102) 2022-11-24 21:41:57 +01:00
auth bricks auth profiles tweaks (#178) 2023-01-24 15:54:28 +01:00
bundle Update command descriptions (#353) 2023-04-21 13:41:25 +02:00
configure Disable bricks fs and configure commands (#320) 2023-04-12 00:35:16 +02:00
fs Disable bricks fs and configure commands (#320) 2023-04-12 00:35:16 +02:00
root Use cmdio logger to log bricks cmd execution errors (#348) 2023-04-24 12:11:52 +02:00
sync Update to Go SDK v0.8.0 (#351) 2023-04-21 10:30:20 +02:00
version Include build information and add version command (#194) 2023-02-03 15:38:53 +01:00