MooseX::App::Plugin::Version - Adds a command to display the version and license of your application
In your base class:
package MyApp; use MooseX::App qw(Version);
In your shell
bash$ myapp version VERSION MyApp version 2.1 MooseX::App version 1.08 Perl version 5.16.2 LICENSE This library is free software and may be distributed under the same terms as perl itself.
This plugin adds a command to display the version of your application, MooseX::App and perl.
Furthermore it tries to parse the Pod of the base class and extract LICENSE and COPYRIGHT sections
To install MooseX::App, copy and paste the appropriate command in to your terminal.
cpanm
cpanm MooseX::App
CPAN shell
perl -MCPAN -e shell install MooseX::App
For more information on module installation, please visit the detailed CPAN module installation guide.