Crates.io | jobclock |
lib.rs | jobclock |
version | 1.3.1 |
source | src |
created_at | 2024-03-13 19:29:07.568326 |
updated_at | 2024-04-15 15:03:17.543623 |
description | A simple time tracking tool |
homepage | |
repository | https://github.com/johansolbakken/jobclock |
max_upload_size | |
id | 1172099 |
size | 24,056 |
JobClock is a CLI (Command Line Interface) tool developed in Rust designed for tracking time spent on various tasks. It offers a simple yet effective way to manage work sessions, allowing users to start a session, end it, and log tasks with their names during the session. This tool is especially useful for freelancers, developers, and anyone looking to measure the time dedicated to different projects or tasks.
To install JobClock, ensure you have Rust and Cargo installed on your system. Then, run the following command:
cargo install jobclock
To begin a session, use the start
command. This command initiates the tracking period.
jobclock start
Note: Once a session has started, you cannot start another session until the current one has ended.
To add a task to your current session, use the task
command followed by the task name.
jobclock task <name>
Replace <name>
with the actual name of your task.
To collect all Git commit messages made during the current session, use the git
command.
jobclock git
This command will log all commit messages to your session summary.
To end the current session and receive a summary of all tasks, commit messages, and the total time spent, use the end
command.
jobclock end
Upon ending a session, JobClock will provide an output similar to the following:
Job ended
Timeline:
13-03-2024 20:00:00 - Begin session
13-03-2024 20:45:00 - Job: Add frontend feature
13-03-2024 21:00:00 - End session
Total time: 1h 5m 0s
Hours: 1.08