Footprintless::App::Action - A base class for actions
version 1.16
Returns the abstract for the action.
By default it will pull it from the ABSTRACT
section of the pod.
This function should be called using method invokation.
Returns the description for the action.
By default it will pull it from the DESCRIPTION
section of the pod.
This function should be called using method invokation.
Returns an options specificatino for this action according to Getopt::Long::Descriptive.
Processes @args
to parse off the options,
then generates a new instance of the action implementation and returns the 3-tuple: action,
options,
remaining args.
See App::Cmd::Command::prepare for inspiration.
Executes the action.
Returns the usage object from Getopt::Long::Descriptive for the action.
Die's with a generated message based on $message
and $coordinate
.
Returns the top level usage line. See App::Cmd::Command::usage_desc for inspiration.
Performs additional validation on $opts
and $args
.
Calls "usage_error($message,
$coordinate)" if there is a problem.
Lucas Theisen <lucastheisen@pastdev.com>
This software is copyright (c) 2016 by Lucas Theisen.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
Please see those modules/websites for more information related to this module.