K3d completion

k3d completion

Generate completion scripts for [bash, zsh, fish, powershell | psh]

Synopsis

To load completions:

Bash:

  1. $ source <(k3d completion bash)
  2. # To load completions for each session, execute once:
  3. # Linux:
  4. $ k3d completion bash > /etc/bash_completion.d/k3d
  5. # macOS:
  6. $ k3d completion bash > /usr/local/etc/bash_completion.d/k3d

Zsh:

  1. # If shell completion is not already enabled in your environment,
  2. # you will need to enable it. You can execute the following once:
  3. $ echo "autoload -U compinit; compinit" >> ~/.zshrc
  4. # To load completions for each session, execute once:
  5. $ k3d completion zsh > "${fpath[1]}/_k3d"
  6. # You will need to start a new shell for this setup to take effect.

fish:

  1. $ k3d completion fish | source
  2. # To load completions for each session, execute once:
  3. $ k3d completion fish > ~/.config/fish/completions/k3d.fish

PowerShell:

  1. PS> k3d completion powershell | Out-String | Invoke-Expression
  2. # To load completions for every new session, run:
  3. PS> k3d completion powershell > k3d.ps1
  4. # and source this file from your PowerShell profile.
  1. k3d completion SHELL

Options

  1. -h, --help help for completion

Options inherited from parent commands

  1. --timestamps Enable Log timestamps
  2. --trace Enable super verbose output (trace logging)
  3. --verbose Enable verbose output (debug logging)

SEE ALSO


Last update: March 26, 2022