track-time

Crates.iotrack-time
lib.rstrack-time
version0.1.1
sourcesrc
created_at2023-07-28 20:39:15.919941
updated_at2023-08-05 02:56:06.02764
descriptionTime tracking tool.
homepage
repository
max_upload_size
id928845
size367,127
Mario Dujić (mariodujic)

documentation

README

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 <project_name>

To stop time-tracking:
track-time stop --project <project_name>

Preview:

Watcher tracking

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.

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 <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
Commit count: 0

cargo fmt