dotfiles/home/bin/executable_rbw-get

12 lines
181 B
Plaintext
Raw Normal View History

2023-05-13 19:09:08 -07:00
#!/usr/bin/env bash
#
# rbw-get <name of entry> <field of entry>
# Ex: rbw-get google url
if [[ "$2" == "Password" ]]
then
rbw get "$1"
else
2023-09-01 21:58:15 -07:00
rbw get "$1" --field="$2"
fi