Crates.io | hat-changer |
lib.rs | hat-changer |
version | 0.1.0 |
source | src |
created_at | 2024-04-23 03:15:54.623907 |
updated_at | 2024-04-23 03:15:54.623907 |
description | An extremely lightweight time tracking tool for work. |
homepage | https://github.com/rigidity/hat-changer |
repository | https://github.com/rigidity/hat-changer |
max_upload_size | |
id | 1217137 |
size | 46,504 |
Hat Changer is a very simple command-line tool written in Rust for tracking time for various projects.
First, you will need to install Rust with Rustup.
Then run the following command:
cargo install hat-changer
For more detailed instructions, see:
hat --help
You can create projects with new
:
hat new project-name
hat new another-project
Change hats by typing the name of the project:
hat project-name
hat another-project
And start tracking time with the following commands:
hat on
hat off Description of what you've done.
You can undo or edit how long a task took. Note that if you undo while tracking time, it will just cancel the current time being tracked.
Here is an example:
hat edit 5h
hat undo
You can see a list of projects and the times for the active project with:
hat list
hat time
hat
Finally, if you ever want to, you can delete a project:
hat delete project-name
hat delete another-project
That's all for now! I may add new functionality for manipulating descriptions and historical tasks in the future, as well as archiving. But for now, you can do anything else you need by editing the ~/.timelogger.json
file directly. Contributions are welcome.