Retrieve time entries from Toggl to calculate your pay.
Install the package globally
npm i -g grodt
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
.
Pass the token directly with grodt --token APITOKEN
Give the price for an hour of work.
grodt --price 50
Choose the month. Should be [number of the month in the year]
.
grodt --month 1
grodt --month 12
Choose the year.
grodt --year 2019
grodt --help