mirror of https://github.com/fluxcd/flux2.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
46 lines
896 B
Markdown
46 lines
896 B
Markdown
4 years ago
|
## flux completion bash
|
||
4 years ago
|
|
||
|
Generates bash completion scripts
|
||
|
|
||
|
### Synopsis
|
||
|
|
||
|
Generates bash completion scripts
|
||
|
|
||
|
```
|
||
4 years ago
|
flux completion bash [flags]
|
||
4 years ago
|
```
|
||
|
|
||
|
### Examples
|
||
|
|
||
|
```
|
||
|
To load completion run
|
||
|
|
||
4 years ago
|
. <(flux completion bash)
|
||
4 years ago
|
|
||
|
To configure your bash shell to load completions for each session add to your bashrc
|
||
|
|
||
|
# ~/.bashrc or ~/.profile
|
||
4 years ago
|
command -v flux >/dev/null && . <(flux completion bash)
|
||
4 years ago
|
|
||
|
```
|
||
|
|
||
|
### Options
|
||
|
|
||
|
```
|
||
|
-h, --help help for bash
|
||
|
```
|
||
|
|
||
|
### Options inherited from parent commands
|
||
|
|
||
|
```
|
||
|
--kubeconfig string path to the kubeconfig file (default "~/.kube/config")
|
||
4 years ago
|
-n, --namespace string the namespace scope for this operation (default "flux-system")
|
||
4 years ago
|
--timeout duration timeout for this operation (default 5m0s)
|
||
|
--verbose print generated objects
|
||
|
```
|
||
|
|
||
|
### SEE ALSO
|
||
|
|
||
4 years ago
|
* [flux completion](flux_completion.md) - Generates completion scripts for various shells
|
||
4 years ago
|
|