Mojo::Command::Version(3pm)

Mojo::Command::Version3pm

Version command

Usage

    use Mojo::Command::Version;
    my $v = Mojo::Command::Version->new;
    $v->run(@ARGV);

Overview

Mojo::Command::Version shows versions of installed modules.

Attributes

Mojo::Command::Version inherits all attributes from Mojo::Command and implements the following new ones.

"description"

    my $description = $v->description;
    $v              = $v->description('Foo!');

Short description of this command, used for the command list.

"usage"

    my $usage = $v->usage;
    $v        = $v->usage('Foo!');

Usage information for this command, used for the help screen.

Methods

Mojo::Command::Version inherits all methods from Mojo::Command and implements the following new ones.

"run"

    $get = $v->run(@ARGV);

Run this command.

From libmojolicious-perl 0.999926-1+squeeze2 in Debian 6.0 (Squeeze). Parsed by carta from the page's man source.