DOKK / manpages / debian 12 / libmoosex-app-perl / MooseX::App::Plugin::Version.3pm.en
MooseX::App::Plugin::Version(3pm) User Contributed Perl Documentation MooseX::App::Plugin::Version(3pm)

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, AUTHOR and COPYRIGHT sections

2022-10-16 perl v5.34.0