databricks-cli/cmd/root
Andrew Nester ad4b476270
Ensure profile flag is respected for sync command (#837)
## Changes
Fixes #836 

## Tests
Manually running `sync` command with and without the flag

Integration tests pass as well

```
--- PASS: TestAccSyncFullFileSync (13.38s)
PASS
coverage: 39.1% of statements in ./...
ok      github.com/databricks/cli/internal      14.148s coverage: 39.1% of statements in ./...


--- PASS: TestAccSyncIncrementalFileSync (11.38s)
PASS
coverage: 39.1% of statements in ./...
ok      github.com/databricks/cli/internal      11.674s coverage: 39.1% of statements in ./...
```
2023-10-09 10:37:18 +00:00
..
auth.go Ensure profile flag is respected for sync command (#837) 2023-10-09 10:37:18 +00:00
auth_test.go Run environment related tests in a pristine environment (#769) 2023-09-12 13:28:53 +00:00
bundle.go Consolidate environment variable interaction (#747) 2023-09-11 08:18:43 +00:00
bundle_test.go Run environment related tests in a pristine environment (#769) 2023-09-12 13:28:53 +00:00
io.go Consolidate environment variable interaction (#747) 2023-09-11 08:18:43 +00:00
logger.go Consolidate environment variable interaction (#747) 2023-09-11 08:18:43 +00:00
progress_logger.go Consolidate environment variable interaction (#747) 2023-09-11 08:18:43 +00:00
progress_logger_test.go Remove dependency on global state for the root command (#606) 2023-07-26 11:17:09 +00:00
root.go Consolidate environment variable interaction (#747) 2023-09-11 08:18:43 +00:00
user_agent.go Rename bricks -> databricks (#389) 2023-05-16 18:35:39 +02:00
user_agent_command.go Move code for including command name in user agent (#203) 2023-02-15 10:33:35 +01:00
user_agent_command_test.go Move code for including command name in user agent (#203) 2023-02-15 10:33:35 +01:00
user_agent_upstream.go Consolidate environment variable interaction (#747) 2023-09-11 08:18:43 +00:00
user_agent_upstream_test.go Let caller set BRICKS_UPSTREAM for user agent (#196) 2023-02-03 17:05:58 +01:00