Mojolicious::Commands man page on Fedora

Man page or keyword search:  
man Server   31170 pages
apropos Keyword Search (all sections)
Output format
Fedora logo
[printable version]

Mojolicious::Commands(User Contributed Perl DocumentatMojolicious::Commands(3)

NAME
       Mojolicious::Commands - Commands

SYNOPSIS
	 use Mojolicious::Commands;

	 # Command line interface
	 my $commands = Mojolicious::Commands->new;
	 $commands->run(@ARGV);

DESCRIPTION
       Mojolicious::Commands is the interactive command line interface to the
       Mojolicious framework.  It will automatically detect available commands
       in the Mojolicious::Command namespace.

COMMANDS
       These commands are available by default.

   "help"
	 $ mojo
	 $ mojo help

       List available commands with short descriptions.

	 $ mojo help <command>

       List available options for the command with short descriptions.

   "cgi"
	 $ mojo cgi
	 $ script/myapp cgi

       Start application with CGI backend.

   "daemon"
	 $ mojo daemon
	 $ script/myapp daemon

       Start application with standalone HTTP 1.1 server backend.

   "eval"
	 $ mojo eval 'print app->home'
	 $ script/myapp eval 'print app->home'

       Run code against application.

   "generate"
	 $ mojo generate
	 $ mojo generate help

       List available generator commands with short descriptions.

	 $ mojo generate help <generator>

       List available options for generator command with short descriptions.

   "generate app"
	 $ mojo generate app <AppName>

       Generate application directory structure for a fully functional
       Mojolicious application.

   "generate gitignore"
	 $ mojo generate gitignore

       Generate ".gitignore" file.

   "generate hypnotoad"
	 $ mojo generate hypnotoad

       Generate "hypnotoad.conf" file.

   "generate lite_app"
	 $ mojo generate lite_app

       Generate a fully functional Mojolicious::Lite application.

   "generate makefile"
	 $ mojo generate makefile

       Generate "Makefile.PL" file for application.

   "get"
	 $ mojo get http://mojolicio.us
	 $ script/myapp get /foo

       Perform GET request to remote host or local application.

   "inflate"
	 $ myapp.pl inflate

       Turn embedded files from the "DATA" section into real files.

   "routes"
	 $ myapp.pl routes
	 $ script/myapp routes

       List application routes.

   "test"
	 $ mojo test
	 $ script/myapp test
	 $ script/myapp test t/foo.t

       Runs application tests from the "t" directory.

   "version"
	 $ mojo version

       List version information for installed core and optional modules, very
       useful for debugging.

ATTRIBUTES
       Mojolicious::Commands inherits all attributes from Mojo::Command and
       implements the following new ones.

   "hint"
	 my $hint  = $commands->hint;
	 $commands = $commands->hint('Foo!');

       Short hint shown after listing available commands.

   "namespaces"
	 my $namespaces = $commands->namespaces;
	 $commands	= $commands->namespaces(['Mojolicious::Commands']);

       Namespaces to search for available commands, defaults to
       Mojolicious::Command and Mojo::Command.

METHODS
       Mojolicious::Commands inherits all methods from Mojo::Command.

SEE ALSO
       Mojolicious, Mojolicious::Guides, <http://mojolicio.us>.

perl v5.14.1			  2011-09-11	      Mojolicious::Commands(3)
[top]

List of man pages available for Fedora

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net