1pass 中文文档教程
1Pass
命令行的非官方 1Password 阅读器。
Installation
安装 NPM,然后:
npm install -g 1pass
Usage
1pass list [QUERY]
列出钥匙串中的项目。 如果给出 QUERY,则只有匹配 QUERY 的项目 显示。 否则列出所有项目。
1pass show QUERY
列出与给定 QUERY 匹配的所有项目的完整详细信息。 show
是 默认命令,因此除非有歧义,否则您可以将其缩短为:
1pass QUERY
Queries
1pass
让您可以简要说明您的查询。 尝试只给出一个子字符串,或者 省略键名中间的字符。 例如 1pass haw
将 匹配名为“howaboutwe.com”的项目(以及任何其他包含“h”的项目, 'a', 'w' 的顺序)。
Your Keychain
默认情况下,1pass
会在常用位置查找您的数据:
- ~/Library/Application Support/1Password/1Password.agilekeychain
- ~/Dropbox/1Password.agilekeychain
如果那里什么都没有,它会询问。
您可以使用 -d
选项将 1pass
指向您的钥匙串。
1pass -d /path/to/secrets.agilekeychain list
1pass
不记得你的选择,也不存在配置文件 然而。 现在,请使用 shell 别名。
Help
一如既往:
1pass --help
Disclaimer
1Pass 不是由 Agile Bits 开发、维护或认可的,Agile Bits 是 1密码。 使用风险自负。
Contributing
- Bug reports
- Source
- Patches: Fork on Github, send pull request.
- Include tests where practical.
- Leave the version alone, or bump it in a separate commit.
Copyright
版权所有 (c) George Ogata。 有关详细信息,请参阅许可证。
1Pass
Unofficial 1Password reader for the command line.
Installation
Install NPM, then:
npm install -g 1pass
Usage
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 QUERY
Queries
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).
Your Keychain
By default, 1pass
will look for your data in common locations:
- ~/Library/Application Support/1Password/1Password.agilekeychain
- ~/Dropbox/1Password.agilekeychain
If there's nothing there, it'll ask.
You can point 1pass
to your keychain with a -d
option.
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.
Help
As always:
1pass --help
Disclaimer
1Pass is not developed, maintained, or endorsed by Agile Bits, creator of 1Password. Use at your own risk.
Contributing
- Bug reports
- Source
- Patches: Fork on Github, send pull request.
- Include tests where practical.
- Leave the version alone, or bump it in a separate commit.
Copyright
Copyright (c) George Ogata. See LICENSE for details.