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.
47 lines
950 B
Markdown
47 lines
950 B
Markdown
## flux completion bash
|
|
|
|
Generates bash completion scripts
|
|
|
|
### Synopsis
|
|
|
|
Generates bash completion scripts
|
|
|
|
```
|
|
flux completion bash [flags]
|
|
```
|
|
|
|
### Examples
|
|
|
|
```
|
|
To load completion run
|
|
|
|
. <(flux completion bash)
|
|
|
|
To configure your bash shell to load completions for each session add to your bashrc
|
|
|
|
# ~/.bashrc or ~/.profile
|
|
command -v flux >/dev/null && . <(flux completion bash)
|
|
|
|
```
|
|
|
|
### Options
|
|
|
|
```
|
|
-h, --help help for bash
|
|
```
|
|
|
|
### Options inherited from parent commands
|
|
|
|
```
|
|
--context string kubernetes context to use
|
|
--kubeconfig string path to the kubeconfig file (default "~/.kube/config")
|
|
-n, --namespace string the namespace scope for this operation (default "flux-system")
|
|
--timeout duration timeout for this operation (default 5m0s)
|
|
--verbose print generated objects
|
|
```
|
|
|
|
### SEE ALSO
|
|
|
|
* [flux completion](flux_completion.md) - Generates completion scripts for various shells
|
|
|