1Mojolicious::Command::AUustehrorC:o:nMgtoerjnioeblruiatcteiedo:u:Pspe:lr:ulCgoiDmnom(ca3un)mde:n:tAauttihoonr::generate::plugin(3)
2
3
4
6 Mojolicious::Command::Author::generate::plugin - Plugin generator
7 command
8
10 Usage: APPLICATION generate plugin [OPTIONS] [NAME]
11
12 mojo generate plugin
13 mojo generate plugin TestPlugin
14
15 Options:
16 -h, --help Show this summary of available options
17
19 Mojolicious::Command::Author::generate::plugin generates directory
20 structures for fully functional Mojolicious plugins.
21
22 This is a core command, that means it is always enabled and its code a
23 good example for learning to build new commands, you're welcome to fork
24 it.
25
26 See "COMMANDS" in Mojolicious::Commands for a list of commands that are
27 available by default.
28
30 Mojolicious::Command::Author::generate::plugin inherits all attributes
31 from Mojolicious::Command and implements the following new ones.
32
33 description
34 my $description = $plugin->description;
35 $plugin = $plugin->description('Foo');
36
37 Short description of this command, used for the command list.
38
39 usage
40 my $usage = $plugin->usage;
41 $plugin = $plugin->usage('Foo');
42
43 Usage information for this command, used for the help screen.
44
46 Mojolicious::Command::Author::generate::plugin inherits all methods
47 from Mojolicious::Command and implements the following new ones.
48
49 run
50 $plugin->run(@ARGV);
51
52 Run this command.
53
55 Mojolicious, Mojolicious::Guides, <https://mojolicious.org>.
56
57
58
59perl v5.28.0 Mojol2i0c1i8o-u0s9:-:1C4ommand::Author::generate::plugin(3)