databricks-cli/cmd
Pieter Noordhuis 7d2aa35738
Fix logic error in #1532 (#1564)
## Changes

This snuck into #1532 right before merging. The result is that error
output is no longer logged. This includes actual execution errors as
well as help output if arguments or flags are incorrectly specified.

We don't have test coverage for the `root.Execute` function. This is to
be fixed later.

## Tests

Manually confirmed we observe error output again.
2024-07-03 16:23:19 +00:00
..
account Update OpenAPI spec (#1466) 2024-06-03 14:14:48 +00:00
api Add usage string when command fails with incorrect arguments (#1276) 2024-03-12 14:12:34 +00:00
auth Update error checks that use the `os` package to use `errors.Is` (#1461) 2024-06-03 12:39:36 +00:00
bundle Improve `bundle validate` output (#1532) 2024-07-01 09:01:10 +00:00
configure Fix `databricks configure` to use DATABRICKS_CONFIG_FILE environment variable if exists as config file (#1325) 2024-06-24 10:56:49 +00:00
fs Add usage string when command fails with incorrect arguments (#1276) 2024-03-12 14:12:34 +00:00
labs Improve token refresh flow (#1434) 2024-05-16 10:22:09 +00:00
root Fix logic error in #1532 (#1564) 2024-07-03 16:23:19 +00:00
sync Use `vfs.Path` for filesystem interaction (#1554) 2024-07-03 10:13:22 +00:00
version Add usage string when command fails with incorrect arguments (#1276) 2024-03-12 14:12:34 +00:00
workspace Bump github.com/databricks/databricks-sdk-go from 0.42.0 to 0.43.0 (#1522) 2024-06-25 12:51:17 +00:00
cmd.go Add `databricks labs` command group (#914) 2023-11-17 12:47:37 +00:00