1Mojolicious::Command::AUustehrorC:o:ngterniebruatteedM(o3Pj)eorllicDioocuusm:e:nCtoamtmiaonnd::Author::generate(3)
2
3
4

NAME

6       Mojolicious::Command::Author::generate - Generator command
7

SYNOPSIS

9         Usage: APPLICATION generate GENERATOR [OPTIONS]
10
11           mojo generate app
12           mojo generate lite-app
13

DESCRIPTION

15       Mojolicious::Command::Author::generate lists available generators.
16
17       This is a core command, that means it is always enabled and its code a
18       good example for learning to build new commands, you're welcome to fork
19       it.
20
21       See "COMMANDS" in Mojolicious::Commands for a list of commands that are
22       available by default.
23

ATTRIBUTES

25       Mojolicious::Command::Author::generate inherits all attributes from
26       Mojolicious::Commands and implements the following new ones.
27
28   description
29         my $description = $generator->description;
30         $generator      = $generator->description('Foo');
31
32       Short description of this command, used for the command list.
33
34   hint
35         my $hint   = $generator->hint;
36         $generator = $generator->hint('Foo');
37
38       Short hint shown after listing available generator commands.
39
40   message
41         my $msg    = $generator->message;
42         $generator = $generator->message('Bar');
43
44       Short usage message shown before listing available generator commands.
45
46   namespaces
47         my $namespaces = $generator->namespaces;
48         $generator     = $generator->namespaces(['MyApp::Command::generate']);
49
50       Namespaces to search for available generator commands, defaults to
51       Mojolicious::Command::Author::generate.
52

METHODS

54       Mojolicious::Command::Author::generate inherits all methods from
55       Mojolicious::Commands and implements the following new ones.
56
57   help
58         $generator->help('app');
59
60       Print usage information for generator command.
61

SEE ALSO

63       Mojolicious, Mojolicious::Guides, <https://mojolicious.org>.
64
65
66
67perl v5.32.0                      2020M-o0j7o-l2i8cious::Command::Author::generate(3)
Impressum