2 个版本
0.1.1 | 2019 年 12 月 20 日 |
---|---|
0.1.0 | 2019 年 12 月 20 日 |
#6 in #bullet
19KB
470 代码行
Bit Journal CLI
使用 Rust 编写的 Bullet Journal 的 CLI 实现。
使用方法
bit-journal-cli 0.1.0
USAGE:
bit-journal-cli [SUBCOMMAND]
FLAGS:
-h, --help Prints help information
-V, --version Prints version information
SUBCOMMANDS:
add Adds a new entry of a given type to the journal
complete Toggles the completion of the nth entry in the list
emph Toggles the importance of the nth entry in the list
help Prints this message or the help of the given subcommand(s)
remove Removes the nth entry in the list
示例
列出条目
cargo run
列出当前日志条目
Bit Journal v0.1.0
Today is Wed, May 1.
⚬ Internal Standup at 4pm
• Figure out enums
X Laugh uncontrollably
- I'm just surprised this worked
添加条目
cargo run add note "Eating a bagel"
将新笔记添加到日志中,然后打印日志
Bit Journal v0.1.0
Today is Tue, Nov 19.
⚬ Internal Standup at 4pm
• Figure out enums
X Laugh uncontrollably
- I'm just surprised this worked
- Eating a bagel
删除条目
cargo run remove note 0
从日志中删除第 0 个笔记
Bit Journal v0.1.0
Today is Tue, Nov 19.
• Figure out enums
X Laugh uncontrollably
- I'm just surprised this worked
- Eating a bagel
依赖关系
~6.5MB
~112K SLoC