MOP4Import::Base::CLI - Boilerplate base class for Runnable Module
#!/usr/bin/env perl package MyScript; use MOP4Import::Base::CLI -as_base; ... __PACKAGE__->run(\@ARGV) unless caller; 1;
Now superceded by MOP4Import::Base::CLI_JSON.
MOP4Import::Base::CLI is a general purpose base class to make your module also runnable from CLI easily. It helps you writing modules with small testable pieces codes.
It provides enough useful default implementation of
run() method for CLI invocation.
Also, this module is implemented using MOP4Import so that you can implement your own
App::Cmd - if your main goal is writing full-fleged CLI.
Kobayashi, Hiroaki <firstname.lastname@example.org>
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.