slimtimer-report - Simple script to report all SlimTimer entries in the given interval.
version 0.005
slimtimer-report [-t|--task name] [start-date [end-date]]
For example:
slimtimer-report today
Without the task option, output a table summarizing all entries in the given time interval as well as the total time spent on all of them.
With the task option only output the time spent on the specified task.
The times in the output are always given in HH:MM:SS format.
By default, the entries for the entire interval are retrieved. Usually a start-date should be specified to limit the output to only the entries after the specified date. An optional end-date can also be specified to limit the output to the entries started before the end date as well.
start-date
end-date
Both dates are parsed using DateTime::Format::Natural and so can be specified in a variety of ways.
The script requires a simple configuration file to run. If the configuration file doesn't exist, it outputs a message with the full path of the expected configuration file name asking to create it. The contents of the file should be:
api_key: 30-letter-hex-digit-key login: your@email.here password: slimtimer-password
WebService::SlimTimer
Vadim Zeitlin <vz-cpan@zeitlins.org>
This software is copyright (c) 2011 by Vadim Zeitlin.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install WebService::SlimTimer, copy and paste the appropriate command in to your terminal.
cpanm
cpanm WebService::SlimTimer
CPAN shell
perl -MCPAN -e shell install WebService::SlimTimer
For more information on module installation, please visit the detailed CPAN module installation guide.