[−][src]Crate rtw
RTW
Command-line interface (CLI) time tracker.
CLI usage is stable, underlying API is not stable.
This project is heavily inspired from Timewarrior.
For a stable feature-rich CLI time tracker, please use Timewarrior: https://timewarrior.net/.
Design
- Activities are stored inside a
Storage
. - An
ActivityService
provides the logic above a storage. rtw_cli::run
translates CLI args to actions (RTWAction
).rtw_cli::run_action
performs actionsRTWAction
by calling the service.
Tests
RTW has both unit and integration tests.
Modules
chrono_clock | Clock impl using chrono. |
cli_helper | CLI parsing helpers and clap App. |
json_storage | Store activities (current, finished) as Json files. |
rtw_cli | Translate CLI args to calls to activity Service. |
rtw_config | Config. |
rtw_core | Core traits and data structures. |
service | Logic above an activity storage |
time_tools | Time parsing utils. |