English (TODO)| 中文
package
/binary crate
/library crate
/mod
/pub
/use
)Result
/Option
)if let
, match
...)File Seek
/Buffed File I/O
)使用一个本地文件 $HOME/.rtd.csv
存储所有数据
linux
环境构建测试,Windows
/MacOS
同样支持,根据自身操作系统选择下载对应 Cargo
即可。Cargo
Rust 包管理和构建工具, 可通过官网rustup
一行命令直接安装,接下来的事情,它会帮你全搞定,很可爱,不是吗?crate.io
:bash
cargo install rtd-tutorial
git repo
:bash
git clone https://github.com/cuppar/rtd.git
cargo install --path rtd
bash
rtd -h
rtd --help
bash
rtd -a <item-name>
rtd --add <item-name>
bash
rtd
rtd -l
rtd -l uncompleted
rtd --list
rtd --list uncompleted
bash
rtd -c <item-id>
rtd --complete <item-id>
bash
rtd -l completed
rtd --list completed
bash
rtd -u <item-id>
rtd --uncomplete <item-id>
bash
rtd -d <item-id>
rtd --delete <item-id>
bash
rtd -l deleted
rtd --list deleted
bash
rtd -r <item-id>
rtd --restore <item-id>
bash
rtd --destroy <item-id>
bash
rtd --destroy-deleted
bash
rtd -l all
rtd --list all
bash
rtd --clear