Skip to content

Ratludu/momento

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Momento

Momento is a simple cli tool to track time written in go.

This is still a unfinished product so its still rough around the edges.

Installation

The easiest way to install momento is to use go install.

  1. Install the go toolchain here
  2. go install github.com/ratludu/momento@latest
  3. run momento in your terminal to verify
  4. run momento createDb to initiate the database in your config folder. You will need to export the path in your chosen shell, this command will provide a template to paste into your .bashrc, for example.

Usage

To start you will need to add a profile to the database. This provides some heirarchy to order your tasks, for example, if you are a student you may have the course as the profile.

momento profiles --add econ101

You also need to set a current profile, this is so that you dont always have to add a flag for a profile then also a task. To set a profile as current:

momento profiles --set econ101

To start recording some time, simply run:

momento start # default tag as misc
momento start --tag week1 # make the tag for the session week1

To stop the session.

momento stop

You can only have one session running at a time, so this will stop the current session.

To get some stats (this will be expanded later)

momento stats

If you forgot what session you were on you can run

momento session

To Do

  • maybe a full redesign
  • removing entries
  • improved stats

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages