cilium completion

Output shell completion code for bash


Output shell completion code for bash

cilium completion [bash] [flags]


# Installing bash completion on macOS using homebrew
## If running Bash 3.2 included with macOS
    brew install bash-completion
## or, if running Bash 4.1+
    brew install [email protected]
## afterwards you only need to run
    cilium completion bash > $(brew --prefix)/etc/bash_completion.d/cilium

# Installing bash completion on Linux
## Load the cilium completion code for bash into the current shell
    source <(cilium completion bash)
## Write bash completion code to a file and source if from .bash_profile
    cilium completion bash > ~/.cilium/
    printf "
      # Cilium shell completion
      source '$HOME/.cilium/'
      " >> $HOME/.bash_profile
    source $HOME/.bash_profile


  -h, --help   help for completion

Options inherited from parent commands

      --config string   config file (default is $HOME/.cilium.yaml)
  -D, --debug           Enable debug messages
  -H, --host string     URI to server-side API