A GitHub CLI tool built with Python and Typer
Project description
GitHub CLI Mamba
一个用Python和Typer构建的GitHub命令行工具。
安装
pip install github-cli-mamba
使用
首先,设置GitHub Token环境变量:
export GITHUB_TOKEN="your_github_token"
或者创建.env文件,添加:
GITHUB_TOKEN=your_github_token
命令
仓库命令
列出用户的所有仓库:
github-cli-mamba repo list -u username
删除用户的仓库:
github-cli-mamba repo delete -u username -r repo_name
用户命令
查看用户资料:
github-cli-mamba user profile -u username
开发
克隆仓库:
git clone https://github.com/yourusername/github-cli-mamba.git
cd github-cli-mamba
创建并激活虚拟环境:
python -m venv venv
source venv/bin/activate # Linux/macOS
安装依赖:
pip install -e .
构建和发布
构建包:
python -m build
上传到PyPI:
python -m twine upload dist/*
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
github_cli_mamba-0.1.0.tar.gz
(14.1 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file github_cli_mamba-0.1.0.tar.gz.
File metadata
- Download URL: github_cli_mamba-0.1.0.tar.gz
- Upload date:
- Size: 14.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.6.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fd820e6b07b5c346f75852e117fe9eae924784da079eb38fed36f4874b7f5bbf
|
|
| MD5 |
7a3f316ccd132c231974aded31f4d6fe
|
|
| BLAKE2b-256 |
f3181b440a666f69793c8726ffe2c10ec994c3a8965e3e7d9a6ef080094fe817
|
File details
Details for the file github_cli_mamba-0.1.0-py3-none-any.whl.
File metadata
- Download URL: github_cli_mamba-0.1.0-py3-none-any.whl
- Upload date:
- Size: 5.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.6.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0ec4b73f3848c82f4cd4ccea680003a8b373140bb0cbe2c8d316f5277549d80d
|
|
| MD5 |
5da86c90f7c6038aaa3d6c4c3836c9c7
|
|
| BLAKE2b-256 |
b21b065dc7aacdf6ee41473633e14e793083644a65f67487278e193779bd9449
|