dotfiles/dots/fish/completions/gopass.fish
Valentin Boettcher 8fd0a4e997 Update
2018-09-06 07:13:35 +02:00

300 lines
30 KiB
Fish

#!/usr/bin/env fish
set PROG 'gopass'
function __fish_gopass_needs_command
set -l cmd (commandline -opc)
if [ (count $cmd) -eq 1 -a $cmd[1] = $PROG ]
return 0
end
return 1
end
function __fish_gopass_uses_command
set cmd (commandline -opc)
if [ (count $cmd) -gt 1 ]
if [ $argv[1] = $cmd[2] ]
return 0
end
end
return 1
end
function __fish_gopass_print_gpg_keys
gpg2 --list-keys | grep uid | sed 's/.*<\(.*\)>/\1/'
end
function __fish_gopass_print_entries
gopass ls --flat
end
function __fish_gopass__print_dirs
for i in (gopass ls --flat)
echo (dirname $i)
end | sort -u
end
# erase any existing completions for gopass
complete -c $PROG -e
complete -c $PROG -f -n '__fish_gopass_needs_command' -a "(__fish_gopass_print_entries)"
complete -c $PROG -f -n '__fish_gopass_needs_command' -a agent -d 'Command: Start gopass-agent'
complete -c $PROG -f -n '__fish_gopass_uses_command agent' -a client -d 'Subcommand: Start a simple agent test client'
complete -c $PROG -f -n '__fish_gopass_uses_command agent client -l yes -d "Assume yes on all yes/no questions or use the default on all others"'
complete -c $PROG -f -n '__fish_gopass_uses_command agent client -s c -l clip -d "Copy the first line of the secret into the clipboard"'
complete -c $PROG -f -n '__fish_gopass_uses_command agent client -s h -l help -d "show help"'
complete -c $PROG -f -n '__fish_gopass_uses_command agent client -s v -l version -d "print the version"'
complete -c $PROG -f -n '__fish_gopass_needs_command' -a audit -d 'Command: Scan for weak passwords'
complete -c $PROG -f -n '__fish_gopass_uses_command audit' -a hibp -d 'Subcommand: Detect leaked passwords'
complete -c $PROG -f -n '__fish_gopass_uses_command audit hibp -s f -l force -d "Force to move the secret and overwrite existing one"'
complete -c $PROG -f -n '__fish_gopass_uses_command audit hibp -s a -l api -d "Use HIBP API"'
complete -c $PROG -f -n '__fish_gopass_uses_command audit hibp -l dumps -d "One or more HIBP v1/v2 dumps"'
complete -c $PROG -f -n '__fish_gopass_uses_command audit hibp -l yes -d "Assume yes on all yes/no questions or use the default on all others"'
complete -c $PROG -f -n '__fish_gopass_uses_command audit hibp -s c -l clip -d "Copy the first line of the secret into the clipboard"'
complete -c $PROG -f -n '__fish_gopass_uses_command audit hibp -s h -l help -d "show help"'
complete -c $PROG -f -n '__fish_gopass_uses_command audit hibp -s v -l version -d "print the version"'
complete -c $PROG -f -n '__fish_gopass_needs_command' -a binary -d 'Command: Assist with Binary/Base64 content'
complete -c $PROG -f -n '__fish_gopass_uses_command binary' -a cat -d 'Subcommand: Print content of a secret to stdout or insert from stdin'
complete -c $PROG -f -n '__fish_gopass_uses_command binary cat -l yes -d "Assume yes on all yes/no questions or use the default on all others"'
complete -c $PROG -f -n '__fish_gopass_uses_command binary cat -s c -l clip -d "Copy the first line of the secret into the clipboard"'
complete -c $PROG -f -n '__fish_gopass_uses_command binary cat -s h -l help -d "show help"'
complete -c $PROG -f -n '__fish_gopass_uses_command binary cat -s v -l version -d "print the version"'
complete -c $PROG -f -n '__fish_gopass_uses_command binary' -a sum -d 'Subcommand: Compute the SHA256 checksum'
complete -c $PROG -f -n '__fish_gopass_uses_command binary sum -l yes -d "Assume yes on all yes/no questions or use the default on all others"'
complete -c $PROG -f -n '__fish_gopass_uses_command binary sum -s c -l clip -d "Copy the first line of the secret into the clipboard"'
complete -c $PROG -f -n '__fish_gopass_uses_command binary sum -s h -l help -d "show help"'
complete -c $PROG -f -n '__fish_gopass_uses_command binary sum -s v -l version -d "print the version"'
complete -c $PROG -f -n '__fish_gopass_uses_command binary' -a copy -d 'Subcommand: Copy files from or to the password store'
complete -c $PROG -f -n '__fish_gopass_uses_command binary copy -s f -l force -d "Force to move the secret and overwrite existing one"'
complete -c $PROG -f -n '__fish_gopass_uses_command binary copy -l yes -d "Assume yes on all yes/no questions or use the default on all others"'
complete -c $PROG -f -n '__fish_gopass_uses_command binary copy -s c -l clip -d "Copy the first line of the secret into the clipboard"'
complete -c $PROG -f -n '__fish_gopass_uses_command binary copy -s h -l help -d "show help"'
complete -c $PROG -f -n '__fish_gopass_uses_command binary copy -s v -l version -d "print the version"'
complete -c $PROG -f -n '__fish_gopass_uses_command binary' -a move -d 'Subcommand: Move files from or to the password store'
complete -c $PROG -f -n '__fish_gopass_uses_command binary move -s f -l force -d "Force to move the secret and overwrite existing one"'
complete -c $PROG -f -n '__fish_gopass_uses_command binary move -l yes -d "Assume yes on all yes/no questions or use the default on all others"'
complete -c $PROG -f -n '__fish_gopass_uses_command binary move -s c -l clip -d "Copy the first line of the secret into the clipboard"'
complete -c $PROG -f -n '__fish_gopass_uses_command binary move -s h -l help -d "show help"'
complete -c $PROG -f -n '__fish_gopass_uses_command binary move -s v -l version -d "print the version"'
complete -c $PROG -f -n '__fish_gopass_needs_command' -a clone -d 'Command: Clone a store from git'
complete -c $PROG -f -n '__fish_gopass_needs_command' -a completion -d 'Command: Bash and ZSH completion'
complete -c $PROG -f -n '__fish_gopass_uses_command completion' -a bash -d 'Subcommand: Source for auto completion in bash'
complete -c $PROG -f -n '__fish_gopass_uses_command completion bash -l yes -d "Assume yes on all yes/no questions or use the default on all others"'
complete -c $PROG -f -n '__fish_gopass_uses_command completion bash -s c -l clip -d "Copy the first line of the secret into the clipboard"'
complete -c $PROG -f -n '__fish_gopass_uses_command completion bash -s h -l help -d "show help"'
complete -c $PROG -f -n '__fish_gopass_uses_command completion bash -s v -l version -d "print the version"'
complete -c $PROG -f -n '__fish_gopass_uses_command completion' -a zsh -d 'Subcommand: Source for auto completion in zsh'
complete -c $PROG -f -n '__fish_gopass_uses_command completion zsh -l yes -d "Assume yes on all yes/no questions or use the default on all others"'
complete -c $PROG -f -n '__fish_gopass_uses_command completion zsh -s c -l clip -d "Copy the first line of the secret into the clipboard"'
complete -c $PROG -f -n '__fish_gopass_uses_command completion zsh -s h -l help -d "show help"'
complete -c $PROG -f -n '__fish_gopass_uses_command completion zsh -s v -l version -d "print the version"'
complete -c $PROG -f -n '__fish_gopass_uses_command completion' -a fish -d 'Subcommand: Source for auto completion in fish'
complete -c $PROG -f -n '__fish_gopass_uses_command completion fish -l yes -d "Assume yes on all yes/no questions or use the default on all others"'
complete -c $PROG -f -n '__fish_gopass_uses_command completion fish -s c -l clip -d "Copy the first line of the secret into the clipboard"'
complete -c $PROG -f -n '__fish_gopass_uses_command completion fish -s h -l help -d "show help"'
complete -c $PROG -f -n '__fish_gopass_uses_command completion fish -s v -l version -d "print the version"'
complete -c $PROG -f -n '__fish_gopass_uses_command completion' -a openbsdksh -d 'Subcommand: Source for auto completion in OpenBSD's ksh'
complete -c $PROG -f -n '__fish_gopass_uses_command completion openbsdksh -l yes -d "Assume yes on all yes/no questions or use the default on all others"'
complete -c $PROG -f -n '__fish_gopass_uses_command completion openbsdksh -s c -l clip -d "Copy the first line of the secret into the clipboard"'
complete -c $PROG -f -n '__fish_gopass_uses_command completion openbsdksh -s h -l help -d "show help"'
complete -c $PROG -f -n '__fish_gopass_uses_command completion openbsdksh -s v -l version -d "print the version"'
complete -c $PROG -f -n '__fish_gopass_needs_command' -a config -d 'Command: Edit configuration'
complete -c $PROG -f -n '__fish_gopass_needs_command' -a copy -d 'Command: Copy secrets from one location to another'
complete -c $PROG -f -n '__fish_gopass_uses_command copy' -a "(__fish_gopass_print_entries)"
complete -c $PROG -f -n '__fish_gopass_needs_command' -a create -d 'Command: Easy creation of new secrets'
complete -c $PROG -f -n '__fish_gopass_needs_command' -a delete -d 'Command: Remove secrets'
complete -c $PROG -f -n '__fish_gopass_uses_command delete' -a "(__fish_gopass_print_entries)"
complete -c $PROG -f -n '__fish_gopass_needs_command' -a edit -d 'Command: Edit new or existing secret'
complete -c $PROG -f -n '__fish_gopass_needs_command' -a find -d 'Command: Search for secrets'
complete -c $PROG -f -n '__fish_gopass_needs_command' -a fsck -d 'Command: Check store integrity'
complete -c $PROG -f -n '__fish_gopass_needs_command' -a generate -d 'Command: Generate a new password'
complete -c $PROG -f -n '__fish_gopass_uses_command generate' -a "(__fish_gopass_print_dir)"
complete -c $PROG -f -n '__fish_gopass_needs_command' -a git-credential -d 'Command: Use '!gopass git-credential $@' as git's credential.helper'
complete -c $PROG -f -n '__fish_gopass_uses_command git-credential' -a get -d 'Subcommand: '
complete -c $PROG -f -n '__fish_gopass_uses_command git-credential get -l yes -d "Assume yes on all yes/no questions or use the default on all others"'
complete -c $PROG -f -n '__fish_gopass_uses_command git-credential get -s c -l clip -d "Copy the first line of the secret into the clipboard"'
complete -c $PROG -f -n '__fish_gopass_uses_command git-credential get -s h -l help -d "show help"'
complete -c $PROG -f -n '__fish_gopass_uses_command git-credential get -s v -l version -d "print the version"'
complete -c $PROG -f -n '__fish_gopass_uses_command git-credential' -a store -d 'Subcommand: '
complete -c $PROG -f -n '__fish_gopass_uses_command git-credential store -l yes -d "Assume yes on all yes/no questions or use the default on all others"'
complete -c $PROG -f -n '__fish_gopass_uses_command git-credential store -s c -l clip -d "Copy the first line of the secret into the clipboard"'
complete -c $PROG -f -n '__fish_gopass_uses_command git-credential store -s h -l help -d "show help"'
complete -c $PROG -f -n '__fish_gopass_uses_command git-credential store -s v -l version -d "print the version"'
complete -c $PROG -f -n '__fish_gopass_uses_command git-credential' -a erase -d 'Subcommand: '
complete -c $PROG -f -n '__fish_gopass_uses_command git-credential erase -l yes -d "Assume yes on all yes/no questions or use the default on all others"'
complete -c $PROG -f -n '__fish_gopass_uses_command git-credential erase -s c -l clip -d "Copy the first line of the secret into the clipboard"'
complete -c $PROG -f -n '__fish_gopass_uses_command git-credential erase -s h -l help -d "show help"'
complete -c $PROG -f -n '__fish_gopass_uses_command git-credential erase -s v -l version -d "print the version"'
complete -c $PROG -f -n '__fish_gopass_needs_command' -a jsonapi -d 'Command: Run gopass as jsonapi e.g. for browser plugins'
complete -c $PROG -f -n '__fish_gopass_uses_command jsonapi' -a listen -d 'Subcommand: Listen and respond to messages via stdin/stdout'
complete -c $PROG -f -n '__fish_gopass_uses_command jsonapi listen -l yes -d "Assume yes on all yes/no questions or use the default on all others"'
complete -c $PROG -f -n '__fish_gopass_uses_command jsonapi listen -s c -l clip -d "Copy the first line of the secret into the clipboard"'
complete -c $PROG -f -n '__fish_gopass_uses_command jsonapi listen -s h -l help -d "show help"'
complete -c $PROG -f -n '__fish_gopass_uses_command jsonapi listen -s v -l version -d "print the version"'
complete -c $PROG -f -n '__fish_gopass_uses_command jsonapi' -a configure -d 'Subcommand: Setup gopass native messaging manifest for selected browser'
complete -c $PROG -f -n '__fish_gopass_uses_command jsonapi configure -l browser -d "One of 'chrome' and 'firefox'"'
complete -c $PROG -f -n '__fish_gopass_uses_command jsonapi configure -l path -d "Path to install 'gopass_wrapper.sh' to"'
complete -c $PROG -f -n '__fish_gopass_uses_command jsonapi configure -l manifest-path -d "Path to install 'com.justwatch.gopass.json' to"'
complete -c $PROG -f -n '__fish_gopass_uses_command jsonapi configure -l global -d "Install for all users, requires superuser rights"'
complete -c $PROG -f -n '__fish_gopass_uses_command jsonapi configure -l libpath -d "Library path for global installation on linux. Default is /usr/lib"'
complete -c $PROG -f -n '__fish_gopass_uses_command jsonapi configure -l gopass-path -d "Path to gopass binary. Default is auto detected"'
complete -c $PROG -f -n '__fish_gopass_uses_command jsonapi configure -l print -d "Print installation summary before creating any files"'
complete -c $PROG -f -n '__fish_gopass_uses_command jsonapi configure -l yes -d "Assume yes on all yes/no questions or use the default on all others"'
complete -c $PROG -f -n '__fish_gopass_uses_command jsonapi configure -s c -l clip -d "Copy the first line of the secret into the clipboard"'
complete -c $PROG -f -n '__fish_gopass_uses_command jsonapi configure -s h -l help -d "show help"'
complete -c $PROG -f -n '__fish_gopass_uses_command jsonapi configure -s v -l version -d "print the version"'
complete -c $PROG -f -n '__fish_gopass_needs_command' -a otp -d 'Command: Generate time or hmac based tokens'
complete -c $PROG -f -n '__fish_gopass_needs_command' -a git -d 'Command: Run any git command inside a password store'
complete -c $PROG -f -n '__fish_gopass_uses_command git' -a init -d 'Subcommand: Init git repo'
complete -c $PROG -f -n '__fish_gopass_uses_command git init -l store -d "Store to operate on"'
complete -c $PROG -f -n '__fish_gopass_uses_command git init -l sign-key -d "GPG Key to sign commits"'
complete -c $PROG -f -n '__fish_gopass_uses_command git init -l rcs -d "Select sync backend (git, gitcli, gogit, noop)"'
complete -c $PROG -f -n '__fish_gopass_uses_command git init -l yes -d "Assume yes on all yes/no questions or use the default on all others"'
complete -c $PROG -f -n '__fish_gopass_uses_command git init -s c -l clip -d "Copy the first line of the secret into the clipboard"'
complete -c $PROG -f -n '__fish_gopass_uses_command git init -s h -l help -d "show help"'
complete -c $PROG -f -n '__fish_gopass_uses_command git init -s v -l version -d "print the version"'
complete -c $PROG -f -n '__fish_gopass_uses_command git' -a remote -d 'Subcommand: Mangage git remotes'
complete -c $PROG -f -n '__fish_gopass_uses_command git remote -l yes -d "Assume yes on all yes/no questions or use the default on all others"'
complete -c $PROG -f -n '__fish_gopass_uses_command git remote -s c -l clip -d "Copy the first line of the secret into the clipboard"'
complete -c $PROG -f -n '__fish_gopass_uses_command git remote -s h -l help -d "show help"'
complete -c $PROG -f -n '__fish_gopass_uses_command git remote -s v -l version -d "print the version"'
complete -c $PROG -f -n '__fish_gopass_uses_command git' -a push -d 'Subcommand: Push to remote'
complete -c $PROG -f -n '__fish_gopass_uses_command git push -l store -d "Store to operate on"'
complete -c $PROG -f -n '__fish_gopass_uses_command git push -l yes -d "Assume yes on all yes/no questions or use the default on all others"'
complete -c $PROG -f -n '__fish_gopass_uses_command git push -s c -l clip -d "Copy the first line of the secret into the clipboard"'
complete -c $PROG -f -n '__fish_gopass_uses_command git push -s h -l help -d "show help"'
complete -c $PROG -f -n '__fish_gopass_uses_command git push -s v -l version -d "print the version"'
complete -c $PROG -f -n '__fish_gopass_uses_command git' -a pull -d 'Subcommand: Pull from remote'
complete -c $PROG -f -n '__fish_gopass_uses_command git pull -l store -d "Store to operate on"'
complete -c $PROG -f -n '__fish_gopass_uses_command git pull -l yes -d "Assume yes on all yes/no questions or use the default on all others"'
complete -c $PROG -f -n '__fish_gopass_uses_command git pull -s c -l clip -d "Copy the first line of the secret into the clipboard"'
complete -c $PROG -f -n '__fish_gopass_uses_command git pull -s h -l help -d "show help"'
complete -c $PROG -f -n '__fish_gopass_uses_command git pull -s v -l version -d "print the version"'
complete -c $PROG -f -n '__fish_gopass_needs_command' -a grep -d 'Command: Search for secrets files containing search-string when decrypted.'
complete -c $PROG -f -n '__fish_gopass_needs_command' -a history -d 'Command: Show password history'
complete -c $PROG -f -n '__fish_gopass_needs_command' -a init -d 'Command: Initialize new password store.'
complete -c $PROG -f -n '__fish_gopass_needs_command' -a insert -d 'Command: Insert a new secret'
complete -c $PROG -f -n '__fish_gopass_uses_command insert' -a "(__fish_gopass_print_dir)"
complete -c $PROG -f -n '__fish_gopass_needs_command' -a list -d 'Command: List existing secrets'
complete -c $PROG -f -n '__fish_gopass_uses_command list' -a "(__fish_gopass_print_dir)"
complete -c $PROG -f -n '__fish_gopass_needs_command' -a move -d 'Command: Move secrets from one location to another'
complete -c $PROG -f -n '__fish_gopass_uses_command move' -a "(__fish_gopass_print_entries)"
complete -c $PROG -f -n '__fish_gopass_needs_command' -a mounts -d 'Command: Edit mounted stores'
complete -c $PROG -f -n '__fish_gopass_uses_command mounts' -a add -d 'Subcommand: Mount a password store'
complete -c $PROG -f -n '__fish_gopass_uses_command mounts add -s i -l init -d "Init the store with the given recipient key"'
complete -c $PROG -f -n '__fish_gopass_uses_command mounts add -l yes -d "Assume yes on all yes/no questions or use the default on all others"'
complete -c $PROG -f -n '__fish_gopass_uses_command mounts add -s c -l clip -d "Copy the first line of the secret into the clipboard"'
complete -c $PROG -f -n '__fish_gopass_uses_command mounts add -s h -l help -d "show help"'
complete -c $PROG -f -n '__fish_gopass_uses_command mounts add -s v -l version -d "print the version"'
complete -c $PROG -f -n '__fish_gopass_uses_command mounts' -a remove -d 'Subcommand: Umount an mounted password store'
complete -c $PROG -f -n '__fish_gopass_uses_command mounts remove -l yes -d "Assume yes on all yes/no questions or use the default on all others"'
complete -c $PROG -f -n '__fish_gopass_uses_command mounts remove -s c -l clip -d "Copy the first line of the secret into the clipboard"'
complete -c $PROG -f -n '__fish_gopass_uses_command mounts remove -s h -l help -d "show help"'
complete -c $PROG -f -n '__fish_gopass_uses_command mounts remove -s v -l version -d "print the version"'
complete -c $PROG -f -n '__fish_gopass_needs_command' -a recipients -d 'Command: Edit recipient permissions'
complete -c $PROG -f -n '__fish_gopass_uses_command recipients' -a add -d 'Subcommand: Add any number of Recipients to any store'
complete -c $PROG -f -n '__fish_gopass_uses_command recipients add -l store -d "Store to operate on"'
complete -c $PROG -f -n '__fish_gopass_uses_command recipients add -l force -d "Force adding non-existing keys"'
complete -c $PROG -f -n '__fish_gopass_uses_command recipients add -l yes -d "Assume yes on all yes/no questions or use the default on all others"'
complete -c $PROG -f -n '__fish_gopass_uses_command recipients add -s c -l clip -d "Copy the first line of the secret into the clipboard"'
complete -c $PROG -f -n '__fish_gopass_uses_command recipients add -s h -l help -d "show help"'
complete -c $PROG -f -n '__fish_gopass_uses_command recipients add -s v -l version -d "print the version"'
complete -c $PROG -f -n '__fish_gopass_uses_command recipients' -a remove -d 'Subcommand: Remove any number of Recipients from any store'
complete -c $PROG -f -n '__fish_gopass_uses_command recipients remove -l store -d "Store to operate on"'
complete -c $PROG -f -n '__fish_gopass_uses_command recipients remove -l force -d "Force adding non-existing keys"'
complete -c $PROG -f -n '__fish_gopass_uses_command recipients remove -l yes -d "Assume yes on all yes/no questions or use the default on all others"'
complete -c $PROG -f -n '__fish_gopass_uses_command recipients remove -s c -l clip -d "Copy the first line of the secret into the clipboard"'
complete -c $PROG -f -n '__fish_gopass_uses_command recipients remove -s h -l help -d "show help"'
complete -c $PROG -f -n '__fish_gopass_uses_command recipients remove -s v -l version -d "print the version"'
complete -c $PROG -f -n '__fish_gopass_uses_command recipients' -a update -d 'Subcommand: Recompute the saved recipient list checksums'
complete -c $PROG -f -n '__fish_gopass_uses_command recipients update -l yes -d "Assume yes on all yes/no questions or use the default on all others"'
complete -c $PROG -f -n '__fish_gopass_uses_command recipients update -s c -l clip -d "Copy the first line of the secret into the clipboard"'
complete -c $PROG -f -n '__fish_gopass_uses_command recipients update -s h -l help -d "show help"'
complete -c $PROG -f -n '__fish_gopass_uses_command recipients update -s v -l version -d "print the version"'
complete -c $PROG -f -n '__fish_gopass_needs_command' -a setup -d 'Command: Initialize a new password store'
complete -c $PROG -f -n '__fish_gopass_needs_command' -a show -d 'Command: Display a secret'
complete -c $PROG -f -n '__fish_gopass_uses_command show' -a "(__fish_gopass_print_entries)"
complete -c $PROG -f -n '__fish_gopass_needs_command' -a sync -d 'Command: Sync all local stores with their remotes'
complete -c $PROG -f -n '__fish_gopass_needs_command' -a templates -d 'Command: Edit templates'
complete -c $PROG -f -n '__fish_gopass_uses_command templates' -a show -d 'Subcommand: Show a secret template.'
complete -c $PROG -f -n '__fish_gopass_uses_command templates show -l yes -d "Assume yes on all yes/no questions or use the default on all others"'
complete -c $PROG -f -n '__fish_gopass_uses_command templates show -s c -l clip -d "Copy the first line of the secret into the clipboard"'
complete -c $PROG -f -n '__fish_gopass_uses_command templates show -s h -l help -d "show help"'
complete -c $PROG -f -n '__fish_gopass_uses_command templates show -s v -l version -d "print the version"'
complete -c $PROG -f -n '__fish_gopass_uses_command templates' -a edit -d 'Subcommand: Edit secret templates.'
complete -c $PROG -f -n '__fish_gopass_uses_command templates edit -l yes -d "Assume yes on all yes/no questions or use the default on all others"'
complete -c $PROG -f -n '__fish_gopass_uses_command templates edit -s c -l clip -d "Copy the first line of the secret into the clipboard"'
complete -c $PROG -f -n '__fish_gopass_uses_command templates edit -s h -l help -d "show help"'
complete -c $PROG -f -n '__fish_gopass_uses_command templates edit -s v -l version -d "print the version"'
complete -c $PROG -f -n '__fish_gopass_uses_command templates' -a remove -d 'Subcommand: Remove secret templates.'
complete -c $PROG -f -n '__fish_gopass_uses_command templates remove -l yes -d "Assume yes on all yes/no questions or use the default on all others"'
complete -c $PROG -f -n '__fish_gopass_uses_command templates remove -s c -l clip -d "Copy the first line of the secret into the clipboard"'
complete -c $PROG -f -n '__fish_gopass_uses_command templates remove -s h -l help -d "show help"'
complete -c $PROG -f -n '__fish_gopass_uses_command templates remove -s v -l version -d "print the version"'
complete -c $PROG -f -n '__fish_gopass_needs_command' -a unclip -d 'Command: Internal command to clear clipboard'
complete -c $PROG -f -n '__fish_gopass_needs_command' -a update -d 'Command: Check for updates'
complete -c $PROG -f -n '__fish_gopass_needs_command' -a version -d 'Command: Display version'
complete -c $PROG -f -n '__fish_gopass_needs_command' -a xc -d 'Command: Experimental Crypto'
complete -c $PROG -f -n '__fish_gopass_uses_command xc' -a list-private-keys -d 'Subcommand: '
complete -c $PROG -f -n '__fish_gopass_uses_command xc list-private-keys -l yes -d "Assume yes on all yes/no questions or use the default on all others"'
complete -c $PROG -f -n '__fish_gopass_uses_command xc list-private-keys -s c -l clip -d "Copy the first line of the secret into the clipboard"'
complete -c $PROG -f -n '__fish_gopass_uses_command xc list-private-keys -s h -l help -d "show help"'
complete -c $PROG -f -n '__fish_gopass_uses_command xc list-private-keys -s v -l version -d "print the version"'
complete -c $PROG -f -n '__fish_gopass_uses_command xc' -a list-public-keys -d 'Subcommand: '
complete -c $PROG -f -n '__fish_gopass_uses_command xc list-public-keys -l yes -d "Assume yes on all yes/no questions or use the default on all others"'
complete -c $PROG -f -n '__fish_gopass_uses_command xc list-public-keys -s c -l clip -d "Copy the first line of the secret into the clipboard"'
complete -c $PROG -f -n '__fish_gopass_uses_command xc list-public-keys -s h -l help -d "show help"'
complete -c $PROG -f -n '__fish_gopass_uses_command xc list-public-keys -s v -l version -d "print the version"'
complete -c $PROG -f -n '__fish_gopass_uses_command xc' -a generate -d 'Subcommand: '
complete -c $PROG -f -n '__fish_gopass_uses_command xc generate -l yes -d "Assume yes on all yes/no questions or use the default on all others"'
complete -c $PROG -f -n '__fish_gopass_uses_command xc generate -s c -l clip -d "Copy the first line of the secret into the clipboard"'
complete -c $PROG -f -n '__fish_gopass_uses_command xc generate -s h -l help -d "show help"'
complete -c $PROG -f -n '__fish_gopass_uses_command xc generate -s v -l version -d "print the version"'
complete -c $PROG -f -n '__fish_gopass_uses_command xc' -a export -d 'Subcommand: '
complete -c $PROG -f -n '__fish_gopass_uses_command xc export -l id -d ""'
complete -c $PROG -f -n '__fish_gopass_uses_command xc export -l file -d ""'
complete -c $PROG -f -n '__fish_gopass_uses_command xc export -l yes -d "Assume yes on all yes/no questions or use the default on all others"'
complete -c $PROG -f -n '__fish_gopass_uses_command xc export -s c -l clip -d "Copy the first line of the secret into the clipboard"'
complete -c $PROG -f -n '__fish_gopass_uses_command xc export -s h -l help -d "show help"'
complete -c $PROG -f -n '__fish_gopass_uses_command xc export -s v -l version -d "print the version"'
complete -c $PROG -f -n '__fish_gopass_uses_command xc' -a import -d 'Subcommand: '
complete -c $PROG -f -n '__fish_gopass_uses_command xc import -l id -d ""'
complete -c $PROG -f -n '__fish_gopass_uses_command xc import -l file -d ""'
complete -c $PROG -f -n '__fish_gopass_uses_command xc import -l yes -d "Assume yes on all yes/no questions or use the default on all others"'
complete -c $PROG -f -n '__fish_gopass_uses_command xc import -s c -l clip -d "Copy the first line of the secret into the clipboard"'
complete -c $PROG -f -n '__fish_gopass_uses_command xc import -s h -l help -d "show help"'
complete -c $PROG -f -n '__fish_gopass_uses_command xc import -s v -l version -d "print the version"'
complete -c $PROG -f -n '__fish_gopass_uses_command xc' -a export-private-key -d 'Subcommand: '
complete -c $PROG -f -n '__fish_gopass_uses_command xc export-private-key -l id -d ""'
complete -c $PROG -f -n '__fish_gopass_uses_command xc export-private-key -l file -d ""'
complete -c $PROG -f -n '__fish_gopass_uses_command xc export-private-key -l yes -d "Assume yes on all yes/no questions or use the default on all others"'
complete -c $PROG -f -n '__fish_gopass_uses_command xc export-private-key -s c -l clip -d "Copy the first line of the secret into the clipboard"'
complete -c $PROG -f -n '__fish_gopass_uses_command xc export-private-key -s h -l help -d "show help"'
complete -c $PROG -f -n '__fish_gopass_uses_command xc export-private-key -s v -l version -d "print the version"'
complete -c $PROG -f -n '__fish_gopass_uses_command xc' -a import-private-key -d 'Subcommand: '
complete -c $PROG -f -n '__fish_gopass_uses_command xc import-private-key -l id -d ""'
complete -c $PROG -f -n '__fish_gopass_uses_command xc import-private-key -l file -d ""'
complete -c $PROG -f -n '__fish_gopass_uses_command xc import-private-key -l yes -d "Assume yes on all yes/no questions or use the default on all others"'
complete -c $PROG -f -n '__fish_gopass_uses_command xc import-private-key -s c -l clip -d "Copy the first line of the secret into the clipboard"'
complete -c $PROG -f -n '__fish_gopass_uses_command xc import-private-key -s h -l help -d "show help"'
complete -c $PROG -f -n '__fish_gopass_uses_command xc import-private-key -s v -l version -d "print the version"'
complete -c $PROG -f -n '__fish_gopass_uses_command xc' -a remove -d 'Subcommand: '
complete -c $PROG -f -n '__fish_gopass_uses_command xc remove -l id -d ""'
complete -c $PROG -f -n '__fish_gopass_uses_command xc remove -l yes -d "Assume yes on all yes/no questions or use the default on all others"'
complete -c $PROG -f -n '__fish_gopass_uses_command xc remove -s c -l clip -d "Copy the first line of the secret into the clipboard"'
complete -c $PROG -f -n '__fish_gopass_uses_command xc remove -s h -l help -d "show help"'
complete -c $PROG -f -n '__fish_gopass_uses_command xc remove -s v -l version -d "print the version"'
complete -c $PROG -f -n '__fish_gopass_uses_command xc' -a encrypt -d 'Subcommand: '
complete -c $PROG -f -n '__fish_gopass_uses_command xc encrypt -l file -d ""'
complete -c $PROG -f -n '__fish_gopass_uses_command xc encrypt -l recipients -d ""'
complete -c $PROG -f -n '__fish_gopass_uses_command xc encrypt -l stream -d ""'
complete -c $PROG -f -n '__fish_gopass_uses_command xc encrypt -l yes -d "Assume yes on all yes/no questions or use the default on all others"'
complete -c $PROG -f -n '__fish_gopass_uses_command xc encrypt -s c -l clip -d "Copy the first line of the secret into the clipboard"'
complete -c $PROG -f -n '__fish_gopass_uses_command xc encrypt -s h -l help -d "show help"'
complete -c $PROG -f -n '__fish_gopass_uses_command xc encrypt -s v -l version -d "print the version"'
complete -c $PROG -f -n '__fish_gopass_uses_command xc' -a decrypt -d 'Subcommand: '
complete -c $PROG -f -n '__fish_gopass_uses_command xc decrypt -l file -d ""'
complete -c $PROG -f -n '__fish_gopass_uses_command xc decrypt -l stream -d ""'
complete -c $PROG -f -n '__fish_gopass_uses_command xc decrypt -l yes -d "Assume yes on all yes/no questions or use the default on all others"'
complete -c $PROG -f -n '__fish_gopass_uses_command xc decrypt -s c -l clip -d "Copy the first line of the secret into the clipboard"'
complete -c $PROG -f -n '__fish_gopass_uses_command xc decrypt -s h -l help -d "show help"'
complete -c $PROG -f -n '__fish_gopass_uses_command xc decrypt -s v -l version -d "print the version"'
complete -c $PROG -f -n '__fish_gopass_needs_command' -a help -d 'Command: Shows a list of commands or help for one command'