1.2.0 • Published 3 years ago

timeweb-genie-neo v1.2.0

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

Timeweb Genie Neo

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

  1. Create a ~/.timeweb-genie.json file (in your home directory):

    {
      "timewebUrl": "https://.../TwNet.dll",
      "username": "...",
      "password": "..."
    }

    Optional config options:

    • justificationTypesNotCountingAsWorkingTime: Overwrite the default types to subtract from the working times (array of strings)
    • targetWorkingHours: Overwrite the default target working hours (number)
    • targetBreakMinutes: Overwrite the default lunch break time (number)
  1. Simply run it with

    npx timeweb-genie-neo

    or for specific date range

    npx timeweb-genie-neo 01/10/2022 31/10/2022

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.

Development

# Install dependencies
yarn install

# Run typescript compiler in watch mode
# This generates js application in /dist folder
yarn dev

# Execute application
node dist/application.js

Debugging

Make sure to run the typescript compiler on watch mode by executing yarn dev.

Add Jetbrains Run/Debug Configuration: Alt text

License

License: MIT

1.2.0

3 years ago

1.0.2

3 years ago

1.1.0

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago

1.0.9

3 years ago

1.0.8

3 years ago

1.0.7

3 years ago

1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.0-beta.3

3 years ago