1a8ef6e221
Use it like App::Cmd advises (especially see App::Cmd::Tutorial), swapping App::Cmd::Command for MooseX::App::Cmd::Command. Then you can write your moose commands as moose classes, with MooseX::Getopt defining the options for you instead of opt_spec returning a Getopt::Long::Descriptive spec. WWW: http://search.cpan.org/dist/MooseX-App-Cmd/ PR: ports/ports/152164 Submitted by: Gea-Suan Lin <gslin at gslin.org>
10 lines
396 B
Text
10 lines
396 B
Text
This module marries App::Cmd with MooseX::Getopt.
|
|
|
|
Use it like App::Cmd advises (especially see App::Cmd::Tutorial),
|
|
swapping App::Cmd::Command for MooseX::App::Cmd::Command.
|
|
|
|
Then you can write your moose commands as moose classes, with
|
|
MooseX::Getopt defining the options for you instead of opt_spec
|
|
returning a Getopt::Long::Descriptive spec.
|
|
|
|
WWW: http://search.cpan.org/dist/MooseX-App-Cmd/
|