timeweb-genie
v1.0.0-beta.2
Published
A CLI tool to calculate working hours logged in the Time@Web application
Downloads
1
Readme
Timeweb Genie
A CLI tool to calculate working hours logged in the Time@Web application.
| :warning: WARNING | | ---------------------------------------------- | | This is a beta release and errors may occur. |
Installation/Update and Configuration
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
Usage
npx timeweb-genie [DD/MM/YYYY DD/MM/YYYY]
Contributing
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.