This is a command-line time-tracking tool that allows you to manually or automatically time-track your activity.
cargo install track-time
track-time start --project <project_name>
To stop time-tracking:
track-time stop --project <project_name>
Preview:
In order to automatically time-track activity for a path:track-time watch --project <project_name> --path <folder_path>
Watcher flags user as inactive after a timeout period. Timeout time unit is in seconds, and the amount can be changed in
root Config.toml
file.
Preview:
This functionality is based on filesystem notification crate notify.
You can preview your projects and see total time for a single project.To preview all projects:
track-time projects
To preview tracked time of a project:
track-time show --project <project_name>
Preview:
Project 'Hello world'
------------------------------------------------------
Started (UTC) Stopped (UTC) Duration (min)
Mar 11 2023 12:46 Mar 11 2023 12:46 50
------------------------------------------------------
Total: 50 min