Fork me on GitHub

Index


Name

App::Doh::CLI - Command line interface class for the application

Synopsis

   use App::Doh::CLI;

   exit App::Doh::Cli->new( appclass => 'App::Doh', noask => 1 )->run;

Description

Command line interface class for the application

Configuration and Environment

Defines the following attributes;

max_gen_time

Maximum generation run time in seconds. Short command line option id -m

skin

Name of the skin to operate on. Short command line option is -s

models

A hash reference to the containing the model object references

Subroutines/Methods

make_css - Compile CSS files from LESS files

   bin/doh-cli make-css [theme]

Creates CSS files under var/root/css one for each colour theme. If a colour theme name is supplied only the LESS for that theme is compiled

make_site_tarball - Make a tarball of the static site

   bin/doh-cli make-site-tarball

Creates a tarball of the sites static files

make_skin - Make a tarball of the files for a skin

   bin/doh-cli -s name_of_skin make-skin

Creates a tarball in the current directory containing the LESS files, templates, and JavaScript code for the named skin. Defaults to the default skin

make_static - Make a static HTML copy of the documentation

   bin/doh-cli make-static

Creates static HTML pages under var/root/static

post_install - Perform post installation tasks

   bin/doh-cli post-install

Performs a sequence of tasks after installation of the applications files is complete

uninstall - Remove the application from the system

   bin/doh-cli uninstall

Uninstalls the application

Diagnostics

Output is logged to the file var/logs/app_doh.log

Dependencies

Incompatibilities

There are no known incompatibilities in this module

Bugs and Limitations

There are no known bugs in this module. Please report problems to http://rt.cpan.org/NoAuth/Bugs.html?Dist=App-Doh. Patches are welcome

Acknowledgements

Larry Wall - For the Perl programming language

Author

Peter Flanigan, <pjfl@cpan.org>