databricks-cli/cmd
Pieter Noordhuis eea34b2504
Return diagnostics from `config.Load` (#1324)
## Changes

We no longer need to store load diagnostics on the `config.Root` type
itself and instead can return them from the `config.Load` call directly.
It is up to the caller of this function to append them to previous
diagnostics, if any.

Background: previous commits moved configuration loading of the entry
point into a mutator, so now all diagnostics naturally flow from
applying mutators.

This PR depends on #1319.

## Tests

Unit and manual validation of the debug statements in the validate
command.
2024-03-28 10:59:03 +00:00
..
account Update Go SDK to v0.36.0 (#1304) 2024-03-22 13:15:54 +00:00
api Add usage string when command fails with incorrect arguments (#1276) 2024-03-12 14:12:34 +00:00
auth Ignore environment variables for `auth profiles` (#1189) 2024-02-08 12:25:51 +00:00
bundle Return diagnostics from `config.Load` (#1324) 2024-03-28 10:59:03 +00:00
configure Filter out system clusters for `--configure-cluster` (#1031) 2023-11-30 09:59:11 +00:00
fs Add usage string when command fails with incorrect arguments (#1276) 2024-03-12 14:12:34 +00:00
labs Make bundle loaders return diagnostics (#1319) 2024-03-28 10:32:34 +00:00
root Make bundle loaders return diagnostics (#1319) 2024-03-28 10:32:34 +00:00
sync Move path field to bundle type (#1316) 2024-03-27 09:03:24 +00:00
version Add usage string when command fails with incorrect arguments (#1276) 2024-03-12 14:12:34 +00:00
workspace Update Go SDK to v0.36.0 (#1304) 2024-03-22 13:15:54 +00:00
cmd.go Add `databricks labs` command group (#914) 2023-11-17 12:47:37 +00:00