Skip to content

A CLI tool to calculate working hours logged in the Time@Web application

License

Notifications You must be signed in to change notification settings

lukasvice/timeweb-genie

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Timeweb Genie

A CLI tool to calculate working hours logged in the Time@Web application.

⚠️ WARNING
This is a beta release and errors may occur.

Installation/Update and Configuration

  1. 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)
  2. 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.

License

License: MIT

About

A CLI tool to calculate working hours logged in the Time@Web application

Resources

License

Stars

Watchers

Forks

Releases

No releases published