NAME

slimtimer-report - Simple script to report all SlimTimer entries in the given interval.

VERSION

version 0.002

SYNOPSIS

slimtimer-report [start-date [end-date]]

For example:

slimtimer-report today

DESCRIPTION

Output a table summarizing all entries in the given time interval as well as the total time spent on all of them. The times in the output are given in HH:MM:SS format.

OPTIONS

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.

Both dates are parsed using DateTime::Format::Natural and so can be specified in a variety of ways.

CONFIGURATION FILE

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

SEE ALSO

WebService::SlimTimer

AUTHOR

Vadim Zeitlin <vz-cpan@zeitlins.org>

COPYRIGHT AND LICENSE

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.