Github 命令行工具
Project description
创建、查看、删除github仓库的脚本
不打开网页,直接建立仓库。 使用GitHub REST API
写完代码想把它上传到github上,又不想打开网页操作,只想简单创建一个仓库,所以编写了这个脚本程序。
使用
- 在 github 上用自己的账号创建一个 OAuth Token, 是一个类似下面这样的字符串: e6df79d9e62795297e3aabd0945ea33bd6a78501
- 把它设置到环境变量 GH_TOKEN 中
- 执行命令行命令即可
python -m pip install chx-gh
python -m chx.gh --help
python -m chx.gh create --repo hello
Project details
Release history Release notifications | RSS feed
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 details)
Built Distribution
File details
Details for the file chx-gh-0.0.2.tar.gz
.
File metadata
- Download URL: chx-gh-0.0.2.tar.gz
- Upload date:
- Size: 5.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.9.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 303c8c999f8e0713c60da066106cfc24cc8cfa0e5c9d962a2726a7e829afb816 |
|
MD5 | 57d776a95175d83e7d9e981855ded2ef |
|
BLAKE2b-256 | c456169641e9d3a8243c0b1170f228fcf3d99f7162048ef21e153025476f2591 |
File details
Details for the file chx_gh-0.0.2-py3-none-any.whl
.
File metadata
- Download URL: chx_gh-0.0.2-py3-none-any.whl
- Upload date:
- Size: 5.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.9.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a2f85834d967dbf8a59b8f4fc64eb7c9f5a6b92541522e0e4dc4f0b1832128ef |
|
MD5 | 0146bf7f39f5a47e86f6dc22193a99fd |
|
BLAKE2b-256 | 9d9b3b0d230db3a73e1b36d737b2a02f52ec8f51cfc4a3f32fe7dbfe65f7f0e5 |