MAQPNADocs

maqpna completion fish

Print the fish completion script

Configure

Synopsis#

maqpna completion fish

Description#

From the help of maqpna completion:

Load it in the current shell, or install it permanently:
  bash:       source <(maqpna completion bash)       or  maqpna completion bash > /etc/bash_completion.d/maqpna
  zsh:        source <(maqpna completion zsh)        or  maqpna completion zsh > "${fpath[1]}/_maqpna"
  fish:       maqpna completion fish | source        or  maqpna completion fish > ~/.config/fish/completions/maqpna.fish
  powershell: maqpna completion powershell | Out-String | Invoke-Expression
As a kubectl plugin, install the script as the executable kubectl_complete-maqpna:
  printf '#!/bin/sh\nexec maqpna __complete "$@"\n' > kubectl_complete-maqpna && chmod +x kubectl_complete-maqpna

Flags#

This command takes no flags of its own.

The global flags (--context, -o, --no-color, ...) work with every command.

Examples#

maqpna completion fish | source

Exit codes#

CodeMeaning
0success
1error (the message says what failed, with a hint when there is one)
2usage error: unknown flag, missing argument or bad value; the synopsis is printed
3a check failed, a change is blocked, or a result did not match (tamper, policy mismatch) (not used by this command)

Terminal demo#

maqpna completion fish.cast