5 个版本
0.1.4 | 2024年5月26日 |
---|---|
0.1.3 | 2024年5月26日 |
0.1.2 | 2024年5月26日 |
0.1.1 | 2024年5月26日 |
0.1.0 | 2024年5月14日 |
#202 在 日期和时间
38KB
1K SLoC
TTrace
一个用于跟踪工作时间的命令行应用程序。
用法
开始任务
// the currently running task is stopped automatically
ttrace start "task description ..."
停止任务
ttrace stop
重命名任务
ttrace rename "another task description ..."
重启任务
// the end time of the previous task is also adjusted
// restart at 10:30
ttrace restart 1030
// restart relative to current start time
ttrace restart -20
ttrace restart +20
列出任务
// currently running task
ttrace get
// other
ttrace today
ttrace yesterday
ttrace day
ttrace day -2
ttrace day YY-MM-DD
ttrace week
ttrace week -2
安装
您可以使用 cargo 安装此命令行应用程序
cargo install --locked ttrace
依赖项
~33MB
~517K SLoC