Add command-line completion (bash/zsh/fish) including key lookup #2
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Feature
Provide shell completion for
gpg-publishthat covers:--check,--verbose,--nsupdate,--ttl,--domain,--label-only,--versiongpg --list-keys --with-colonsto extract UIDs), file paths, and the literal-for stdin.Approach options
--completion bash|zsh|fishflag that emits the shell-specific completion script (likekubectl completion bash).completions/directory.Option 1 is more maintainable since the completion stays in sync with the actual flags.
Key completion
For the target argument, offer completions from:
This lists all email addresses in the user's public keyring.
Shells to support