mirror of https://github.com/databricks/cli.git
b21e3c81cd
## Changes The function signature of Cobra's `PreRunE` function has an `error` return value. We'd like to start returning `diag.Diagnostics` after loading a bundle, so this is incompatible. This change modifies all usage of `PreRunE` to load a bundle to inline function calls in the command's `RunE` function. ## Tests * Unit tests pass. * Integration tests pass. |
||
---|---|---|
.. | ||
testdata | ||
command_test.go | ||
entrypoint.go | ||
fetcher.go | ||
helpers.go | ||
init_test.go | ||
installed.go | ||
installed_test.go | ||
installer.go | ||
installer_test.go | ||
login.go | ||
project.go | ||
project_test.go | ||
proxy.go | ||
schema.json |