A command line tool for managing todos.
Project description
__
__________ ____ ____ _________ ___ ____/ /
/_ __/ __ \/ __ \/ __ \______/ ___/ __ `__ \/ __ /
/ / / /_/ / /_/ / /_/ /_____/ /__/ / / / / / /_/ /
/_/ \____/_____/\____/ \___/_/ /_/ /_/\__,_/
欢迎使用 todo-cmd,这是一个简单的工具,帮助您在命令行中轻松管理代办、记录完成事项。
Welcome to the todo-cmd! This is a simple tool to help you manage your tasks.
1. 安装|Installation
目前仅支持通过源码安装,需要 python3.8^
git clone https://github.com/paperplane110/todo_cmd.git
cd todo_cmd
pip3 install -e .
2. 使用方法|Usage
Add a todo task
todo add ${task}
# or use shortcut
todo a ${task}
# with deadline
todo add ${task} --deadline ${YYYYMMdd}
todo add ${task} -ddl ${YYYYMMdd}
Add a finished task
todo log ${task}
# or use shortcut
todo l ${task}
List tasks
List all tasks
todo ls
┏━━━━┳━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━━━━━┓
┃ id ┃ Status ┃ Task ┃ Deadline ┃ Finish Date ┃
┡━━━━╇━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━━━━━┩
│ 10 │ expr │ Apply a card for my electric-bike │ 2024-11-10 │ / │
├────┼────────┼──────────────────────────────────────┼────────────┼─────────────┤
│ 9 │ todo │ ask Liuke about perf monitor scripts │ 2024-11-13 │ / │
├────┼────────┼──────────────────────────────────────┼────────────┼─────────────┤
│ 8 │ done │ start a pr in rich │ 2024-11-12 │ 2024-11-12 │
│ 7 │ done │ refactor template and ask │ 2024-11-12 │ 2024-11-11 │
│ 6 │ done │ find ICBC card │ 2024-11-12 │ 2024-11-12 │
│ 4 │ done │ finish todo rm │ 2024-11-10 │ 2024-11-10 │
│ 3 │ done │ go to ICBC update ID info │ 2024-11-12 │ 2024-11-12 │
│ 1 │ done │ add some translation │ 2024-11-10 │ 2024-11-10 │
└────┴────────┴──────────────────────────────────────┴────────────┴─────────────┘
List tasks by given status (todo|done|expr)
todo ls --${status}
More options: todo ls
Set a Task Done
todo done ${task_id}
Remove a Task
todo rm ${task_id}
Modify a Task
todo mod ${task_id}
# or use shortcut
todo m ${task_id}
More options: todo mod
Configuration
3. 开发者|For Developer
Install todo_cmd in editable mode
pip install -e .
4.设计文档|Design Documents
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
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 todo_cmd-0.9.1.tar.gz.
File metadata
- Download URL: todo_cmd-0.9.1.tar.gz
- Upload date:
- Size: 13.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.20
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
295c9e3c9ecdcf95b58049d93b647766d471208109b743ba017d37b036820fb1
|
|
| MD5 |
9b4f28c03b66c2416eb1ee55389324e5
|
|
| BLAKE2b-256 |
90676eec34d76a9ea9195821522df1fbb94bf5e620eb8ec8cadffd419bcba77c
|
File details
Details for the file todo_cmd-0.9.1-py3-none-any.whl.
File metadata
- Download URL: todo_cmd-0.9.1-py3-none-any.whl
- Upload date:
- Size: 18.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.20
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3890e74989a7b0303dac581b40c525d710a292dbbd904749b09c3024c491e53d
|
|
| MD5 |
40e1ba7538add23f593431cd8a368024
|
|
| BLAKE2b-256 |
79eeec2a15ad302d39f12471c304cda41f669ccced20ef41f3e7ac4d6fd52a3e
|