databricks-cli/cmd/root
Pieter Noordhuis 5a53b118a7
Skip prompt on completion hook (#888)
## Changes

The first stab at this was added in #837 but only included the
`NoPrompt` check in `MustAccountClient`. I renamed it to `SkipPrompt`
(in preparation for another option that skips bundle load) and made it
work for `MustWorkspaceClient` as well.

## Tests

Manually confirmed that the completion hook no longer prompts for a
profile (when called directly with `databricks __complete`).
2023-10-19 12:34:20 +00:00
..
auth.go Skip prompt on completion hook (#888) 2023-10-19 12:34:20 +00:00
auth_options.go Skip prompt on completion hook (#888) 2023-10-19 12:34:20 +00:00
auth_options_test.go Skip prompt on completion hook (#888) 2023-10-19 12:34:20 +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