一个简单友好的命令行待办清单工具
Project description
todo-cli
一个简单友好的命令行待办清单工具。用一条命令管理你的待办事项,数据保存在本地,随时可用。
✨ 功能
- ➕ 添加任务
- 📋 查看任务(编号连续,删除后自动重排)
- ✅ 标记完成
- 🗑️ 删除任务
- 🧹 一键清除所有已完成
- 数据存在本地 JSON,中文友好,无需联网
📦 安装
pip install todo-cli
🚀 使用
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
🛠️ 参与开发
git clone <你的仓库地址>
cd todo-cli
uv sync
uv run pytest
uv run todo list
📄 License
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
chen_todo-0.1.0.tar.gz
(14.9 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 chen_todo-0.1.0.tar.gz.
File metadata
- Download URL: chen_todo-0.1.0.tar.gz
- Upload date:
- Size: 14.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.7.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0b2d90c8ebf7b418570aa37100d24b58272e53255e11d2188d7645b6643f448d
|
|
| MD5 |
facb6f15b82456ed3fd1634101b7c7af
|
|
| BLAKE2b-256 |
7deeda9841cfb4ea4c80fb63e8651b7820a4dfe75b35393583d854a1067714c2
|
File details
Details for the file chen_todo-0.1.0-py3-none-any.whl.
File metadata
- Download URL: chen_todo-0.1.0-py3-none-any.whl
- Upload date:
- Size: 7.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.7.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
18e6843f644a7fa6b177042dc2af79e391705ed44d8d3de69239ff64e8640849
|
|
| MD5 |
93122534d18ca4b37bab7002f7c1e1cd
|
|
| BLAKE2b-256 |
73bbcf39155be1ac417adbf4ca2facb3813f3eaeb4f5e1eeb8ec9dd34ebb0337
|