databricks-cli/libs/databrickscfg
Andrew Nester 650fb0e8b6
Correctly use --profile flag passed for all bundle commands ()
## Changes
Correctly use --profile flag passed for all bundle commands.

Also adds a validation that if bundle configured host mismatches
provided profile, it throws an error.

Co-authored-by: Pieter Noordhuis <pieter.noordhuis@databricks.com>
2023-07-12 14:09:25 +02:00
..
testdata Add profile on `databricks auth login` () 2023-06-02 13:49:39 +02:00
host.go Try to resolve a profile if only the host is specified () 2023-03-29 20:44:19 +02:00
host_test.go Try to resolve a profile if only the host is specified () 2023-03-29 20:44:19 +02:00
loader.go Correctly use --profile flag passed for all bundle commands () 2023-07-12 14:09:25 +02:00
loader_test.go Add profile on `databricks auth login` () 2023-06-02 13:49:39 +02:00
ops.go Correctly use --profile flag passed for all bundle commands () 2023-07-12 14:09:25 +02:00
ops_test.go Include [DEFAULT] section header when writing ~/.databrickscfg () 2023-06-13 16:41:56 +00:00
profiles.go Support tab completion for profiles () 2023-07-12 12:05:51 +02:00
profiles_test.go Tweak profile prompt () 2023-06-09 13:56:35 +02:00