Unofficial 1Password reader for the command line.
Install NPM, then:
npm install -g 1pass
1pass list [QUERY]
Lists the items in your keychain. If a QUERY is given, only items matching QUERY are shown. Otherwise all items are listed.
1pass show QUERY
Lists the full details of all items matching the given QUERY.
show is the
default command, so unless there's ambiguity, you can shorten this to:
1pass lets you be brief with your queries. Try just giving a substring, or
omitting characters in the middle of key names. For example
1pass haw will
match an item named "howaboutwe.com" (as well as anything else containing 'h',
'a', 'w' in that order).
1pass will look for your data in common locations:
If there's nothing there, it'll ask.
You can point
1pass to your keychain with a
1pass -d /path/to/secrets.agilekeychain list
1pass does not remember your selection, nor is there a configuration file
yet. For now, please use a shell alias.
1Pass is not developed, maintained, or endorsed by Agile Bits, creator of 1Password. Use at your own risk.
Copyright (c) George Ogata. See LICENSE for details.