maqpna completion powershell
Print the PowerShell completion script
Synopsis#
maqpna completion powershellDescription#
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.
Exit codes#
| Code | Meaning |
|---|---|
0 | success |
1 | error (the message says what failed, with a hint when there is one) |
2 | usage error: unknown flag, missing argument or bad value; the synopsis is printed |
3 | a check failed, a change is blocked, or a result did not match (tamper, policy mismatch) (not used by this command) |