ks completion bash

ks completion bash

generate the autocompletion script for bash


Generate the autocompletion script for the bash shell.

This script depends on the ‘bash-completion’ package. If it is not installed already, you can install it via your OS’s package manager.

To load completions in your current shell session: $ source <(ks completion bash)

To load completions for every new session, execute once: Linux: $ ks completion bash > /etc/bash_completion.d/ks MacOS: $ ks completion bash > /usr/local/etc/bash_completion.d/ks

You will need to start a new shell for this setup to take effect.

ks completion bash


  -h, --help              help for bash
      --no-descriptions   disable completion descriptions

Options inherited from parent commands

  -c, --config string   config file (default is $HOME/.config/keystone/keystone.yaml)
      --env string      environment to use instead of the current one
  -q, --quiet           make the output machine readable
  -s, --skip            skip prompts and use default


  • ks completion - generate the autocompletion script for the specified shell
Auto generated by spf13/cobra on 13-Oct-2021

Edit this page on GitHub