databricks-cli/cmd
Denis Bilenko 6d3b4159bd
Log warnings to stderr for "bundle validate -o json" (#2109)
## Changes
Previously diagnostics were not seen in JSON output mode. This change
prints them to stderr.

This also fixes acceptance tests to preprocess all output with
s/execPath/$CLI/ not just output.txt.

## Tests
Existing acceptance tests. In one case I've added non-json command to
check that they match in output.
2025-01-10 08:51:59 +00:00
..
account Upgrade Go SDK to 0.54.0 (#2029) 2024-12-18 12:43:27 +00:00
api Enable gofumpt and goimports in golangci-lint (#1999) 2024-12-12 10:28:42 +01:00
auth Enable perfsprint linter and apply autofix (#2071) 2025-01-07 10:49:23 +00:00
bundle Log warnings to stderr for "bundle validate -o json" (#2109) 2025-01-10 08:51:59 +00:00
configure Enable perfsprint linter and apply autofix (#2071) 2025-01-07 10:49:23 +00:00
fs Consolidate test helpers for `io/fs` (#1906) 2024-11-15 15:37:21 +00:00
labs Enable perfsprint linter and apply autofix (#2071) 2025-01-07 10:49:23 +00:00
root Enable perfsprint linter and apply autofix (#2071) 2025-01-07 10:49:23 +00:00
sync Enable perfsprint linter and apply autofix (#2071) 2025-01-07 10:49:23 +00:00
version Add usage string when command fails with incorrect arguments (#1276) 2024-03-12 14:12:34 +00:00
workspace Enable perfsprint linter and apply autofix (#2071) 2025-01-07 10:49:23 +00:00
cmd.go Upgrade Go SDK to 0.44.0 (#1679) 2024-08-15 13:23:07 +00:00