A CLI tool to calculate working hours logged in the Time@Web application.
This is a beta release and errors may occur. |
-
Create a
~/.timeweb-genie.json
file (in your home directory):{ "timewebUrl": "https://.../TwNet.dll", "username": "...", "password": "..." }
Optional config options:
justificationTypes
: Overwrite the default types to be considered for calculating the working times (array of strings)targetWorkingHours
: Overwrite the default target working hours (number)targetBreakMinutes
: Overwrite the default lunch break time (number)
-
Run, install or update
Simply run it with
npx timeweb-genie
or install it globally and run it with
npm install -g timeweb-genie timeweb-genie
npx timeweb-genie [DD/MM/YYYY DD/MM/YYYY]
Feel free to send a pull request if you want to add any features or if you find a bug. Check the issues tab for some potential things to do.