Data::Object::Cli
Data-Object CLI Base Class
package Command;
use Data::Object 'Class';
extends 'Data::Object::Cli';
method main() {
say $self->help->list;
}
run Command;
__DATA__
=pod help
Do something!
=pod sign
{command}
=pod spec
action=s, verbose|v
=cut
Data::Object::Library
args(ArgsObject, opt, ro) data(DataObject, opt, ro) opts(OptsObject, opt, ro) vars(VarsObject, opt, ro)
This package provides an abstract base class for defining command-line interface classes, which can be run as scripts or passed as objects in a more complex system.
6 POD Errors
The following errors were encountered while parsing the POD:
- Around line 8:
Unknown directive: =name
- Around line 12:
Unknown directive: =abstract
- Around line 16:
Unknown directive: =synopsis
- Around line 46:
Unknown directive: =library
- Around line 50:
Unknown directive: =attributes
- Around line 57:
Unknown directive: =description