【文件属性】:
文件名称:pgist:用 Python 编写的 gist 工具。 已弃用
文件大小:16KB
文件格式:ZIP
更新时间:2021-06-04 07:38:08
pgist
带有 github3.py 库的 Python 命令行包装器,用于访问 GitHub Gist。
安装
您可以使用 pip 安装:
pip install pgist -U
或者使用easy_install:
easy_install -U pgist
命令
上传 a.py 的内容:
pgist a.py
或者你可以接受 stdin 作为这样的文件:
pgist -
输入 ctrl+D 结束标准输入,输入 ctrl+C 中止。
上传多个文件:
pgist a b c
使用 -p 将要点设为私有:
pgist a.py -p
使用 -d 添加描述:
pgist -d "Say something" a.py
您可以使用 -u 更新现有的要点:
pgist b.py c.py -u 2c93e03266634cd6e273
列出您的公共要点:
pgist -
【文件预览】:
pgist-devel
----MANIFEST.in(35B)
----README.rst(2KB)
----requirements.txt(29B)
----tox.ini(208B)
----LICENSE(10KB)
----setup.cfg(26B)
----setup.py(1KB)
----pgist.py(8KB)
----docs()
--------conf.py(8KB)
--------index.rst(2KB)
--------Makefile(7KB)
----.gitignore(353B)