Skip to main content

Github 命令行工具

Project description

创建、查看、删除github仓库的脚本

不打开网页,直接建立仓库。 使用GitHub REST API

写完代码想把它上传到github上,又不想打开网页操作,只想简单创建一个仓库,所以编写了这个脚本程序。

使用

  1. 在 github 上用自己的账号创建一个 OAuth Token, 是一个类似下面这样的字符串: e6df79d9e62795297e3aabd0945ea33bd6a78501
  2. 把它设置到环境变量 GH_TOKEN 中
  3. 执行命令行命令即可
python -m pip install chx-gh
python -m chx.gh --help
python -m chx.gh create --repo hello

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

chx-gh-0.0.2.tar.gz (5.1 kB view hashes)

Uploaded Source

Built Distribution

chx_gh-0.0.2-py3-none-any.whl (5.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page