Verby::Action::Run - a base role for actions which wrap L.


Verby documentation  | view source Contained in the Verby distribution.

Index


NAME

Top

Verby::Action::Run - a base role for actions which wrap POE::Wheel::Run.

SYNOPSIS

Top

	package MyAction;
	use Moose;

	with qw/Verby::Action::Run/;

	sub start {
		my ($self, $c) = @_;
		$self->create_poe_sessio($c, cli => [qw/touch file/]);
	}

DESCRIPTION

Top

METHODS

Top

create_poe_session %args

This methods creates a sub session that runs the wheel.

log_extra

A method that given the context might append something to log messages. used by Verby::Action::Make, for example.

log_invocation

Mostly internal - the default implementation of the logging operation used when invoking the subcommand.

BUGS

Top

None that we are aware of. Of course, if you find a bug, let us know, and we will be sure to fix it.

CODE COVERAGE

Top

We use Devel::Cover to test the code coverage of the tests, please refer to COVERAGE section of the Verby module for more information.

SEE ALSO

Top

Verby::Action::Copy - a Verby::Action::Run subclass.

AUTHOR

Top

Yuval Kogman, <nothingmuch@woobling.org>

COPYRIGHT AND LICENSE

Top


Verby documentation  | view source Contained in the Verby distribution.