mirror of https://github.com/databricks/cli.git
e4415bfbcf
## Changes This includes the following changes: * Move profile loading code to libs/databrickscfg and add tests * Update prompt label to reflect workspace/account profiles * Start prompt in search mode by default * Custom error if `~/.databrickscfg` doesn't exist * Custom error if `~/.databrickscfg` doesn't contain profiles * Use stderr for prompt so that stdout redirection works (e.g. with `jq` or `jless`) ## Tests * New unit tests pass * Manual tests for both workspace and account commands * Search-by-default is really nice if you have many profiles |
||
---|---|---|
.. | ||
testdata | ||
host.go | ||
host_test.go | ||
loader.go | ||
loader_test.go | ||
ops.go | ||
ops_test.go | ||
profiles.go | ||
profiles_test.go |