ks completion

ks completion

Generate completion script

Synopsis

To load completions:

Bash:

$ source <(ks completion bash)

To load completions for each session, execute once:

Linux:

$ ks completion bash > /etc/bash_completion.d/ks

macOS:

$ ks completion bash > /usr/local/etc/bash_completion.d/ks

Zsh:

If shell completion is not already enabled in your environment,

you will need to enable it. You can execute the following once:

$ echo “autoload -U compinit; compinit” » ~/.zshrc

To load completions for each session, execute once:

$ ks completion zsh > “${fpath[1]}/_ks”

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

fish:

$ ks completion fish | source

To load completions for each session, execute once:

$ ks completion fish > ~/.config/fish/completions/ks.fish

PowerShell:

PS> ks completion powershell | Out-String | Invoke-Expression

To load completions for every new session, run:

PS> ks completion powershell > ks.ps1

and source this file from your PowerShell profile.

ks completion [bash|zsh|fish|powershell]

Options

  -h, --help   help for completion

Options inherited from parent commands

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

SEE ALSO

  • ks - A safe system for developers to store, share and use secrets.
Auto generated by spf13/cobra on 12-Jan-2023

Edit this page on GitHub