teampass的简单命令行界面
teampass-cli的Python项目详细描述
这是什么?
它是teampass(https://teampass.net)的简单命令行接口。 teampass-cli提供名为tplci
的可执行文件important:要使用teampass cli,需要在安装了teampass的服务器上修改文件api/functions.php。文件api/functions.php的修改版本位于lib文件夹中。
安装
在大多数类unix系统上,您可能需要运行以下命令
`以根用户身份或使用sudo安装命令
pip 来自源 或 因此,tpcli可执行文件将安装到系统中bin
目录pip install teampass-cli
pip install git+http://github.com/verdel/teampass-cli
git clone git://github.com/verdel/teampass-cli.git
cd teampass-cli
python setup.py install
使用量
tpcli --help
Usage: -c [OPTIONS] COMMAND [ARGS]...
Options:
--api-endpoint TEXT Teampass API endpoint.
--api-key TEXT Teampass API key.
--help Show this message and exit.
Commands:
add add entry to Teampass
delete delete entry from Teampass
edit edit entry in Teampass
list show entry from Teampass
search search entry in Teampass
tpcli add --help
Usage: -c add [OPTIONS]
Add entry to Teampass.
Options:
--item add item
--folder add folder
--title TEXT title for new folder or label for new item [required]
--login TEXT login value for new item
--password TEXT password value for new item
--description TEXT description value for new item
--folder-id TEXT parent folder id [required]
--list format output as list
--table format output as table
--help Show this message and exit.
tpcli delete --help
Usage: -c delete [OPTIONS]
Delete entry from Teampass.
Options:
--item delete item
--folder delete folder with sub-folders and items
--id TEXT entry id [required]
--help Show this message and exit.
tpcli edit --help
Usage: -c edit [OPTIONS]
Edit entry in Teampass.
Options:
--item add item
--folder add folder
--id TEXT entry id [required]
--title TEXT title for entry
--login TEXT login value for entry
--password TEXT password value for entry
--description TEXT description value for entry
--folder-id TEXT parent folder id
--list format output as list
--table format output as table
--help Show this message and exit.
tpcli list --help
Usage: -c list [OPTIONS]
List entry from Teampass.
Options:
--item show items
--folder show folders
--list format output as list
--table format output as table
--tree format output as tree
--help Show this message and exit.
tpcli search --help
Usage: -c search [OPTIONS] TEXT
Search entry in Teampass.
Options:
--item search items
--folder search folders
--list format output as list
--table format output as table
--help Show this message and exit.