Metadata-Version: 2.4
Name: chen-todo
Version: 0.1.0
Summary: 一个简单友好的命令行待办清单工具
Author: chen
License-Expression: MIT
License-File: LICENSE
Keywords: cli,productivity,task,todo,待办
Classifier: Environment :: Console
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Topic :: Utilities
Requires-Python: >=3.9
Description-Content-Type: text/markdown

# todo-cli

一个简单友好的命令行待办清单工具。用一条命令管理你的待办事项，数据保存在本地，随时可用。

## ✨ 功能

- ➕ 添加任务
- 📋 查看任务（编号连续，删除后自动重排）
- ✅ 标记完成
- 🗑️ 删除任务
- 🧹 一键清除所有已完成
- 数据存在本地 JSON，中文友好，无需联网

## 📦 安装

```bash
pip install todo-cli
```

## 🚀 使用

```bash
todo add 学会发布到PyPI
todo add 买 一盒 牛奶
todo list
todo done 1
todo remove 2
todo clear
todo --version
todo --help
```

`todo list` 的输出长这样：

```
[✓]  1  买牛奶
[ ]  2  学会发布到PyPI

共 2 个任务，1 个已完成
```

## 💾 数据存在哪？

所有任务保存在你用户主目录下的 `.todo/tasks.json`：

- Windows：`C:\Users\你的用户名\.todo\tasks.json`
- macOS / Linux：`~/.todo/tasks.json`

## 🛠️ 参与开发

```bash
git clone <你的仓库地址>
cd todo-cli
uv sync
uv run pytest
uv run todo list
```

## 📄 License

[MIT](LICENSE)
