hat-changer

Crates.iohat-changer
lib.rshat-changer
version0.1.0
sourcesrc
created_at2024-04-23 03:15:54.623907
updated_at2024-04-23 03:15:54.623907
descriptionAn extremely lightweight time tracking tool for work.
homepagehttps://github.com/rigidity/hat-changer
repositoryhttps://github.com/rigidity/hat-changer
max_upload_size
id1217137
size46,504
Rigidity (Rigidity)

documentation

README

Hat Changer

Hat Changer is a very simple command-line tool written in Rust for tracking time for various projects.

Installation

First, you will need to install Rust with Rustup.

Then run the following command:

cargo install hat-changer

Usage

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.

Commit count: 5

cargo fmt