Skip to content

escaleno-ltda/hubot-toggl-payment

Repository files navigation

hubot-toggl-payment

npm version npm downloads Build Status Coverage Status Maintainability dependency Status devDependency Status

A Hubot script to close time entries for new payment

Installation

npm i -S hubot-toggl-payment

Set environment variable TOGGL_CHANNEL to channel notifications.

add ["hubot-toggl-payment"] to external-scripts.json.

Examples

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

License

MIT