Current collected state Current
Observed since 21 Oct, 10:09 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
AI辅助的命令行工具,提供错误捕获和bash历史管理功能
一个AI辅助的命令行工具,提供错误捕获和bash历史管理功能,让你的命令行体验更加高效和友好。
pip install ai-cli
# 克隆仓库
git clone https://github.com/yourusername/ai-cli.git
cd ai-cli
# 安装开发模式
pip install -e .
# 安装错误捕获功能到bashrc
error-tracker
# 重新加载bashrc以应用更改
source ~/.bashrc
之后,当你执行的命令失败时,错误详情会自动保存到/tmp/last_error_details.txt文件中。
# 使用命令行工具查询当前bash历史
ai-cli
ai-cli/
├── ai_cli/ # 主源码目录
│ ├── __init__.py # 包初始化文件
│ ├── app.py # 错误捕获功能实现
│ ├── cli.py # 命令行界面
│ └── config/ # 配置文件目录
│ └── __init__.py
├── setup.py # 安装配置文件
├── requirements.txt # 依赖列表
├── MANIFEST.in # 打包配置文件
├── README.md # 项目说明文档
└── LICENSE # 许可证文件
pip install -r requirements.txt
pytest
flake8
black ai_cli
欢迎提交Issues和Pull Requests!
本项目采用MIT许可证 - 详见LICENSE文件
Download counts and popularity will appear here as the collector receives them.
| Version | Published | Direct dependencies | Open version |
|---|---|---|---|
| 0.1.0 | 17 Nov 2025 | 3 |
This describes our collected data; it is not a security assessment.
Observed since 21 Oct, 10:09 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package:eb08bf50fa627e7377976c0bf37181cf4dc0adda781e4f0028b144fa409314f6