一个用于管理生产项目的 CLI 工具
Project description
ESN Tool
一个用于管理多个 Git 项目的命令行工具,支持批量 Git 操作和 AI 自动生成提交信息。
功能
- esntool acm - 自动生成符合 Conventional Commits 规范的提交信息
- esntool git - 批量对多个 Git 项目执行相同命令
- esntool config - 配置 AI 接口
安装
需要 Python 3.12+ 和 uv。
# 安装 uv (如果还没安装)
curl -LsSf https://astral.sh/uv/install.sh | sh
# 安装 esn-tool
uv tool install esn-tool
快速开始
1. 配置 AI 接口
esntool config
2. 自动生成提交信息
# 进入项目父目录
cd /path/to/projects
# 自动提交
esntool acm
3. 批量 Git 操作
# 拉取所有项目
esntool git pull
# 查看所有项目状态
esntool git status
文档
详细使用说明请查看 docs/usage.md。
License
MIT
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
esn_tool-0.1.0.tar.gz
(31.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
esn_tool-0.1.0-py3-none-any.whl
(19.1 kB
view details)
File details
Details for the file esn_tool-0.1.0.tar.gz.
File metadata
- Download URL: esn_tool-0.1.0.tar.gz
- Upload date:
- Size: 31.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
61caf1372db85ca95f61f1b47d3ac0b4f2696918dc50e826747d1f210c78d7de
|
|
| MD5 |
a11e7b815ebc961d295c79f20afb1549
|
|
| BLAKE2b-256 |
f56d4d111d3920be07004a88d7df5e408c4e276a95bb2b18b34b6e77ec35e245
|
File details
Details for the file esn_tool-0.1.0-py3-none-any.whl.
File metadata
- Download URL: esn_tool-0.1.0-py3-none-any.whl
- Upload date:
- Size: 19.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8688c24a23092f0c4cbfdb339943174ba0fd92929d35a51d217642aedc197fc0
|
|
| MD5 |
65bc7ca0673fb4c51531186602a09870
|
|
| BLAKE2b-256 |
6a4e2e294c0c670d8283c2b3870f06e5b355623814eab06c179e81c67136ca19
|