App::Report::Generator::Command::GenReport - provides the command class to run report configurations.
This module is not intended to be used directly.
This module provides a command class for App::Report::Generator to find configuration files loadable by Config::Any and run then via Report::Generator.
App::Report::Generator
The configuration is searched in the configuration subdirectories genreport unless $ENV{APP_GENREPORT_CONFIGBASE} is set.
genreport
$ENV{APP_GENREPORT_CONFIGBASE}
You can place the configuration at any location where configuration files could be expected, see File::ConfigDir for reasonable locations. Of course, test reports should be placed locally for the user (e.g. $ENV{HOME}/genreport/test-report1.yaml), reports which are planned to do periodically shall be placed at a location where the cron process could find it (/usr/local/etc/genreport/daily.yml or /opt/p5-genreport/etc/weekly.json).
$ENV{HOME}/genreport/test-report1.yaml
/usr/local/etc/genreport/daily.yml
/opt/p5-genreport/etc/weekly.json
Use genreport commands to figure out, which reports can be run.
genreport commands
Finds config files using File::ConfigDir (config_dirs), Config::Any (extensions) and File::Find::Rule. The searched depth is 1 - subdirectories aren't traversed.
config_dirs
extensions
Takes the user desired action (base name of the configuration file).
Executes the report generation for the given report.
Jens Rehsack, <rehsack at cpan.org>
<rehsack at cpan.org>
Please report any bugs or feature requests to bug-app-report-generator at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=App-Report-Generator. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
bug-app-report-generator at rt.cpan.org
You can find documentation for this module with the perldoc command.
perldoc App::Report::Generator
You can also look for information at:
RT: CPAN's request tracker
http://rt.cpan.org/NoAuth/Bugs.html?Dist=App-Report-Generator
AnnoCPAN: Annotated CPAN documentation
http://annocpan.org/dist/App-Report-Generator
CPAN Ratings
http://cpanratings.perl.org/d/App-Report-Generator
Search CPAN
http://search.cpan.org/dist/App-Report-Generator/
Copyright 2010 Jens Rehsack.
This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.
See http://dev.perl.org/licenses/ for more information.
To install App::Report::Generator, copy and paste the appropriate command in to your terminal.
cpanm
cpanm App::Report::Generator
CPAN shell
perl -MCPAN -e shell install App::Report::Generator
For more information on module installation, please visit the detailed CPAN module installation guide.