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.
The easiest way to install momento is to use go install.
- Install the go toolchain here
go install github.com/ratludu/momento@latest- run
momentoin your terminal to verify - run
momento createDbto 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.
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 econ101You 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 econ101To start recording some time, simply run:
momento start # default tag as miscmomento start --tag week1 # make the tag for the session week1To stop the session.
momento stopYou 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 statsIf you forgot what session you were on you can run
momento session- maybe a full redesign
- removing entries
- improved stats