-
Notifications
You must be signed in to change notification settings - Fork 288
Expand file tree
/
Copy pathTestUsage-azd-completion-bash.snap
More file actions
29 lines (20 loc) · 1.11 KB
/
TestUsage-azd-completion-bash.snap
File metadata and controls
29 lines (20 loc) · 1.11 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
Generate bash completion script.
This script depends on the 'bash-completion' package.
If it is not installed already, you can install it via your OS's package manager.
Usage
azd completion bash
Global Flags
-C, --cwd string : Sets the current working directory.
--debug : Enables debugging and diagnostics logging.
--docs : Opens the documentation for azd completion bash in your web browser.
-e, --environment string : The name of the environment to use.
--fail-on-prompt : Fails with an actionable error whenever a prompt is encountered, even if a default exists. Implies --no-prompt.
-h, --help : Gets help for bash.
--no-prompt : Accepts the default value instead of prompting, or it fails if there is no default.
Examples
Install completions for all sessions (Linux)
azd completion bash > /etc/bash_completion.d/azd
Install completions for all sessions (macOS)
azd completion bash > $(brew --prefix)/etc/bash_completion.d/azd
Load completions in current session
source <(azd completion bash)