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

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可执行文件将安装到系统中bin 目录

使用量

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.

欢迎加入QQ群-->: 979659372 Python中文网_新手群

推荐PyPI第三方库


热门话题
java如何向xsi:nil元素添加另一个属性?   Java抽象泛型方法,使用具体类型实现通配符   java使用pcap4j截断pcap文件   当我放置字母a、b和c时,java中的异常预期会下降   java设置活动对话框不可取消   接口类型变量上的Java克隆   使用Java或BouncyCastle对CSR(证书签名请求)进行安全解码/读取   java调用SavingsAccount对象上的函数并打印结果   java如何在Android应用程序上显示地图上的兴趣点(POI)并与之交互?   如果在JavaFX中的ResultSet中未找到任何内容,则显示java警报   java我将springboot和@component与@scheduled一起使用,它每12小时锁定一次   ApachePOI如何使用java删除包含字符串的word表的行   java如果对象(x,y)靠近其他对象(x,y)   从未对JMSException调用java JMS CachingConnectionFactory OneException方法   javascript使用java将HTML页面转换为MS word