App::Magpie::App::Command - base class for sub-commands
version 2.010
This module is the base class for all sub-commands. It provides some methods to control logging.
The App::Magpie object responsible for the real operations.
$cmd->log_init($opts);
Initializes the logger attribute of magpie depending on the value of verbose options.
logger
magpie
my @opts = $self->verbose_options;
Return an array of verbose options to be used in a command's opt_spec method. Those options can then be used by log_init().
opt_spec
log_init()
Jerome Quelin <jquelin@gmail.com>
This software is copyright (c) 2011 by Jerome Quelin.
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 App::Magpie, copy and paste the appropriate command in to your terminal.
cpanm
cpanm App::Magpie
CPAN shell
perl -MCPAN -e shell install App::Magpie
For more information on module installation, please visit the detailed CPAN module installation guide.