NAME
App::Rgit::Command - Base class for App::Rgit commands.
VERSION
Version 0.03
DESCRIPTION
Base class for App::Rgit commands.
This is an internal class to rgit.
METHODS
new cmd => $cmd, args => \@args
Creates a new command object for $cmd
that is bound to be called with arguments @args
.
action $cmd [ => $pkg ]
If $pkg
is supplied, handles command $cmd
with $pkg
objects. Otherwise, returns the current class for $cmd
.
cmd
args
Accessors.
run $conf
Runs the command with a App::Rgit::Config configuration object. Stops as soon as one of the executed commands fails, and returns the corresponding exit code. Returns zero when all went fine. Implemented in subclasses.
SEE ALSO
rgit.
AUTHOR
Vincent Pit, <perl at profvince.com>
, http://profvince.com.
You can contact me by mail or on irc.perl.org
(vincent).
BUGS
Please report any bugs or feature requests to bug-rgit at rt.cpan.org
, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=rgit. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
SUPPORT
You can find documentation for this module with the perldoc command.
perldoc App::Rgit::Command
COPYRIGHT & LICENSE
Copyright 2008 Vincent Pit, all rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.