@aakochnpm/timesheet
v0.2.0
Published
Track log in and log out events and display them in a way to make it easy to submit a timesheet
Downloads
13
Readme
Timesheet
Timesheet helps me keep track of time by recording the times I log in and log out of work.
Installation
Use the package manager npm to install Timesheet.
npm install @aakoch/timesheet
Usage
Add to your .zshrc:
source src/.aliases
Log in:
li
Log out:
lo
Report times:
timesheet
Options
li or lo:
xm - timestamp x minutes earlier
xh - timestamp x hours earlier
These can be used together.
Example: li 1h 30m - log in 1 hour and 30 minutes earlier
timesheet:
--printIntervals - Print the intervals between logging in and logging out used to determine totals
Example: timesheet --printIntervals
--printWeekly - Print weekly summaries
Example: timesheet --printWeekly
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.
Building
npm run build
Packaging
See PUBLISH.md
Code of Conduct
Please read the code of conduct before contributing.