1Mojolicious::Command::vUesresrioCno(n3t)ributed Perl DocMuomjeonltiactiioouns::Command::version(3)
2
3
4

NAME

6       Mojolicious::Command::version - Version command
7

SYNOPSIS

9         Usage: APPLICATION version [OPTIONS]
10
11           mojo version
12
13         Options:
14           -h, --help   Show this summary of available options
15

DESCRIPTION

17       Mojolicious::Command::version shows version information for available
18       core and optional modules.
19
20       This is a core command, that means it is always enabled and its code a
21       good example for learning to build new commands, you're welcome to fork
22       it.
23
24       See "COMMANDS" in Mojolicious::Commands for a list of commands that are
25       available by default.
26

ATTRIBUTES

28       Mojolicious::Command::version inherits all attributes from
29       Mojolicious::Command and implements the following new ones.
30
31   description
32         my $description = $v->description;
33         $v              = $v->description('Foo');
34
35       Short description of this command, used for the command list.
36
37   usage
38         my $usage = $v->usage;
39         $v        = $v->usage('Foo');
40
41       Usage information for this command, used for the help screen.
42

METHODS

44       Mojolicious::Command::version inherits all methods from
45       Mojolicious::Command and implements the following new ones.
46
47   run
48         $v->run(@ARGV);
49
50       Run this command.
51

SEE ALSO

53       Mojolicious, Mojolicious::Guides, <https://mojolicious.org>.
54
55
56
57perl v5.34.0                      2022-01-21  Mojolicious::Command::version(3)
Impressum