Ado::Command::generate - Generator command
Usage: APPLICATION generate GENERATOR [OPTIONS]
Ado::Command::generate lists available generators.
This is a core command, that means it is always enabled and its code a good example for learning to build new commands, you're welcome to fork it.
See "COMMANDS" in Mojolicious::Commands for a list of commands that are available by default.
Ado::Command::generate inherits all attributes from Mojolicious::Command::generate and implements the following new ones.
$crud->app(Mojo::Server->new->build_app('Ado')); my $app = $crud->app; # ISA Ado
An instance of Ado. Used in Ado::Command::generate::adoplugin, Ado::Command::generate::crud and possibly others.
Used for storing arguments from the commandline and then passing them to the template
my $args = $self->args;
my $namespaces = $generator->namespaces; $generator = $generator->namespaces(['MyApp::Command::generate']);
Namespaces to search for available generator commands, defaults to ['Mojolicious::Command::generate','Ado::Command::generate'].
['Mojolicious::Command::generate','Ado::Command::generate']
Ado::Command::generate inherits all methods from Mojolicious::Command::generate.
Ado::Command::generate::adoplugin, Ado::Command::generate::apache2htaccess, Ado::Command::generate::apache2vhost, Ado::Command::generate::crud, Mojolicious, Mojolicious::Guides, http://mojolicio.us.
To install Ado, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Ado
CPAN shell
perl -MCPAN -e shell install Ado
For more information on module installation, please visit the detailed CPAN module installation guide.