2021-11-28 11:02:54 +00:00
|
|
|
PASSWORD_STORE_EXTENSION_COMMANDS+=(reveal)
|
2019-04-10 10:21:52 +00:00
|
|
|
|
2021-11-28 11:02:54 +00:00
|
|
|
__password_store_extension_complete_reveal() {
|
2019-04-10 10:21:52 +00:00
|
|
|
if [[ $COMP_CWORD -gt 2 ]]; then
|
|
|
|
case "${COMP_WORDS[2]}" in
|
|
|
|
help|--help|-h)
|
|
|
|
_pass_complete_entries
|
|
|
|
;;
|
|
|
|
version|--version|-v)
|
|
|
|
_pass_complete_entries
|
|
|
|
;;
|
|
|
|
esac
|
|
|
|
else
|
|
|
|
COMPREPLY+=($(compgen -W "help version -h --help -v --version" -- ${cur}))
|
|
|
|
_pass_complete_entries 1
|
|
|
|
fi
|
2021-11-28 11:02:54 +00:00
|
|
|
}
|