grodt

Conversion de tes heures Toggl en euros

Usage no npm install needed!

<script type="module">
  import grodt from 'https://cdn.skypack.dev/grodt';
</script>

README

GRODT

Retrieve time entries from Toggl to calculate your pay.

Installation

Install the package globally

npm i -g grodt

Usage

Just type grodt in a terminal. You'll be asked for your Toggl API TOKEN.

grodt will ask if you want to store the token. It will create a folder located at ~/.grodt to store a config text file containing the location of the text file containing your token (default to ~/.grodt/toggl.

Options

Token

Pass the token directly with grodt --token APITOKEN


Hour price

Give the price for an hour of work.

50 euros for one hour

grodt --price 50


Month

Choose the month. Should be [number of the month in the year].

January

grodt --month 1

December

grodt --month 12


Year

Choose the year.

grodt --year 2019


Help

grodt --help