Skip to content

Rigidity/hat-changer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hat Changer

Crates.io Version

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.

About

An extremely lightweight time tracking tool for work.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages