github.com/fafucoder/cilium@v1.6.11/Documentation/cmdref/cilium_completion.md (about) 1 <!-- This file was autogenerated via cilium cmdref, do not edit manually--> 2 3 ## cilium completion 4 5 Output shell completion code for bash 6 7 ### Synopsis 8 9 Output shell completion code for bash 10 11 ``` 12 cilium completion [bash] [flags] 13 ``` 14 15 ### Examples 16 17 ``` 18 19 # Installing bash completion on macOS using homebrew 20 ## If running Bash 3.2 included with macOS 21 brew install bash-completion 22 ## or, if running Bash 4.1+ 23 brew install bash-completion@2 24 ## afterwards you only need to run 25 cilium completion bash > $(brew --prefix)/etc/bash_completion.d/cilium 26 27 28 # Installing bash completion on Linux 29 ## Load the cilium completion code for bash into the current shell 30 source <(cilium completion bash) 31 ## Write bash completion code to a file and source if from .bash_profile 32 cilium completion bash > ~/.cilium/completion.bash.inc 33 printf " 34 # Cilium shell completion 35 source '$HOME/.cilium/completion.bash.inc' 36 " >> $HOME/.bash_profile 37 source $HOME/.bash_profile 38 ``` 39 40 ### Options 41 42 ``` 43 -h, --help help for completion 44 ``` 45 46 ### Options inherited from parent commands 47 48 ``` 49 --config string config file (default is $HOME/.cilium.yaml) 50 -D, --debug Enable debug messages 51 -H, --host string URI to server-side API 52 ``` 53 54 ### SEE ALSO 55 56 * [cilium](../cilium) - CLI 57