用于从CLI使用Hier的Python库。
hier-client的Python项目详细描述
hier\u客户端
从CLI中使用Hier的Python库。在
安装
客户端需要Python>;3.6。只需使用pip
安装:
$ pip install hier_client
快速启动
在使用客户端之前,必须生成一个Hier令牌。
转到Hier上的个人资料页。
单击Refresh token
按钮。在
回到命令行,初始化客户端。 你只需要做一次。在
^{pr2}$系统会提示您输入用于注册Hier的电子邮件,
以及你刚刚生成的令牌。
如果你想更新你的令牌,
您始终可以重新运行hier init
。在
现在,为今天添加一个注释:
$ hier write "Learned about the Hier client."
如果你已经做了今天的笔记,不用担心,只需附加:
$ hier write --append "Learned about the Hier client."
或者要从头开始一个音符,请使用--force
。在
$ hier write --force "Wrote a fresh note."
最后,如果你只是想看看你已经写了些什么:
$ hier read
错误或建议
如果有什么事,请随时离开Issue!在
- 项目
标签: