timeweb-genie-neo

1.2.0 • Public • Published

Timeweb Genie Neo

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

⚠️ 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)
  2. 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

Readme

Keywords

Package Sidebar

Install

npm i timeweb-genie-neo

Weekly Downloads

2

Version

1.2.0

License

MIT

Unpacked Size

162 kB

Total Files

72

Last publish

Collaborators

  • samuelru