Revert "[U] Wrap into uv tool."

This reverts commit ca9e32763e.
This commit is contained in:
2026-04-15 13:05:45 +08:00
parent ca9e32763e
commit 1bc74cbd1b
14 changed files with 426 additions and 837 deletions

View File

@@ -4,57 +4,47 @@
## 文档结构
- `README.md` - 文档索引
- `uv-tool.md` - `uv tool` 安装、运行、配置与发布说明
- `USAGE.md` - 命令使用说明,重点覆盖 `view`
- `cloudflare_setup.md` - Cloudflare 配置说明
- `README.md` - 项目主文档
- `USAGE.md` - 使用说明文档
- `progress-tracker.md` - 进度跟踪文档
- `requirements.md` - 需求文档
- `workplan.md` - 工作计划文档
## 快速开始
1. 从源码直接运行
1. 安装项目
```bash
uv tool run --from . config-man --help
pip install -e .
```
2. 安装为本地工具
2. 查看帮助
```bash
uv tool install --from . config-man
config-man --help
python main.py --help
```
3. 查看功能验证
3. 使用查看功能:
```bash
config-man view --version 0.30 --mock
python main.py view --version 0.30 --mock
```
## 开发指南
1. 安装开发依赖:
```bash
uv sync --extra dev
pip install -e ".[dev]"
```
2. 运行测试:
```bash
uv run pytest
pytest
```
3. 代码格式化:
```bash
uv run black src/ tests/
black src/ tests/
```
4. 类型检查:
```bash
uv run mypy src/
mypy src/
```