pjf / WebService-HabitRPG

Access the HabitRPG API from Perl
8 stars 5 forks source link

Support +/- increments > 1 for Habits #24

Closed claudinec closed 11 years ago

claudinec commented 11 years ago

eg hrpg +4 h Productive Work – much less tedious than clicking + multiple times on the web interface or repeating commands on the command line.

pjf commented 11 years ago

That's an awesome idea!

pjf commented 11 years ago

Done! Currently we're calling the API once for each up or down operation, but I don't think that's avoidable. It does mean things will seem a little slow if you do something like hrpg +10 Pomodoro. There's a (x10) indicator to show how many times we're repeating a task, and the total stats display will be all the HP/XP/GP changed from all tasks combined.

Now pushing to the CPAN as 0.13