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 mojo generate plugin -f MyApp::Plugin::AwesomeFeature
15
16 Options:
17 -f, --full Do not prepend "Mojolicious::Plugin::" to the plugin name
18 -h, --help Show this summary of available options
19
21 Mojolicious::Command::Author::generate::plugin generates directory
22 structures for fully functional Mojolicious plugins.
23
24 This is a core command, that means it is always enabled and its code a
25 good example for learning to build new commands, you're welcome to fork
26 it.
27
28 See "COMMANDS" in Mojolicious::Commands for a list of commands that are
29 available by default.
30
32 Mojolicious::Command::Author::generate::plugin inherits all attributes
33 from Mojolicious::Command and implements the following new ones.
34
35 description
36 my $description = $plugin->description;
37 $plugin = $plugin->description('Foo');
38
39 Short description of this command, used for the command list.
40
41 usage
42 my $usage = $plugin->usage;
43 $plugin = $plugin->usage('Foo');
44
45 Usage information for this command, used for the help screen.
46
48 Mojolicious::Command::Author::generate::plugin inherits all methods
49 from Mojolicious::Command and implements the following new ones.
50
51 run
52 $plugin->run(@ARGV);
53
54 Run this command.
55
57 Mojolicious, Mojolicious::Guides, <https://mojolicious.org>.
58
59
60
61perl v5.32.0 Mojol2i0c2i0o-u0s7:-:2C8ommand::Author::generate::plugin(3)