MooseX:...Version(3)

πŸ’œ MooseX::App::Plugin::Version β€” like, the whole vibe

okay so bestie, welcome to the MooseX::App::Plugin::Version page ✨ this lil gem lives in the User Contributed Perl Documentation section of your friendly neighbourhood manpages, and it's literally here to add a command that shows off the version and license of your application πŸŽ€


🌸 NAME

MooseX::App::Plugin::Version β€” adds a command to display the version and license of your application 🫢


✨ SYNOPSIS

First up, in your base class, you do the thing:

package MyApp;
use MooseX::App qw(Version);

and then in your shell, bestie, you just:

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.

look at that output. iconic behaviour honestly 🌈


πŸ¦‹ DESCRIPTION

okay so here's the tea β˜• β€” this plugin adds a command that displays the version of your application, MooseX::App, and perl. three for the price of one, we love to see it πŸ’…

and that's not even the whole story, because furthermore it tries to parse the Pod of the base class and extract the LICENSE, AUTHOR and COPYRIGHT sections πŸ‘‘ no cap, it's giving self-documenting main character energy.

ngl, "tries to parse" is doing a lot of heavy lifting in that sentence β€” it's a tries, bestie, so don't come for it if your Pod is a mess πŸ™ˆ

⭐ a lil sign-off

that's the whole page, bestie β€” no notes, no extra flags, no hidden lore. this beauty ships with perl v5.42.0 and the docs are dated 2024-08-09 πŸ“ so go forth, run myapp version, and let your app flex its credentials πŸ’–βœ¨πŸ§š

MooseX:...Version(3) β€” periodt πŸ’…

πŸ“¦ where this page comes from