Time Tracker
This is a command-line time-tracking tool that allows you to manually or automatically time-track your activity.
Install
```
cargo install track-time
```
Manual tracking
In order to manually start time-tracking:
```
track-time start --project
```
To stop time-tracking:
```
track-time stop --project
```
Preview:
Watcher tracking
In order to automatically time-track activity for a path:
```
track-time watch --project --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](https://crates.io/crates/notify).
Report
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
```
Preview:
```
Project 'Hello world'
------------------------------------------------------
Started (UTC) Stopped (UTC) Duration (min)
Mar 11 2023 12:46 Mar 11 2023 12:46 50
------------------------------------------------------
Total: 50 min
```