1 个不稳定版本
0.1.0 | 2021 年 10 月 1 日 |
---|
#8 in #organizer
105KB
223 行
todo
一个轻量级且超级快速的 Rust 编写的命令行 todo 程序,小于 200 行源代码
安装
AUR 包: todo-bin
使用 cargo build --release
编译 todo 并将 target/release/todo
复制到 /usr/bin
注意
todo 仍在早期开发阶段,所以请小心或注意
顺便说一句,我知道我的代码不是最好的,但我仍在学习
用法
Todo is a super fast and simple tasks organizer written in rust
Example: todo list
Available commands:
- add [TASK/s]
adds new task/s
Example: todo add "buy carrots"
- list
lists all tasks
Example: todo list
- done [INDEX]
marks task as done
Example: todo done 2 3 (marks second and third tasks as completed)
- rm [INDEX]
removes a task
Example: todo rm 4
- sort
sorts completed and uncompleted tasks
Example: todo sort
- raw [todo/done]
prints nothing but done/incompleted tasks in plain text, useful for scripting
Example: todo raw done
依赖
~0–10MB
~55K SLoC