A Hubot script to close time entries for new payment
npm i -S hubot-toggl-payment
Set environment variable TOGGL_CHANNEL to channel notifications.
add ["hubot-toggl-payment"]
to external-scripts.json
.
The password is required to store token encrypted. Run this commands in a private message.
hubot toggl login <token> <password>
-> Login success as <fullname>
hubot toggl payment <amount> <price> <password>
-> Processing time entries... Ready. Diference is a few seconds