John Beppu > Squatting-0.21 > squatting

Download:
Squatting-0.21.tar.gz

Annotate this POD

CPAN RT

Open  0
Report a bug
Source   Latest Release: Squatting-0.70

NAME ^

squatting -- Squatting server start-up script

SYNOPSIS ^

Usage:

  squatting [OPTION]... APPLICATION

Starting an App in web server mode on port 4234:

  squatting -p 4234 App

Start an App in interactive console mode:

  squatting -C App
  Welcome to the Perl shell. Type ':help' for more information

  App @> \@App::Controllers::C
  App @> \%App::Controllers::C
  App @> \@App::Views::V
  App @> \%App::Views::V
  App @> App->get('Home')
  App @> App->post('Comment', { name => 'beppu', body => 'Why?' })

DESCRIPTION ^

Start a Squatting application.

OPTIONS ^

-p, --port NUM

Port for web server (defaults to 4234)

-l, --log FILE

(TODO) Start a log file ('-' for STDOUT)

-C, --console

Run in console mode with Shell::Perl.

--debug NUM

Set Continuity's debug level. 0 is the least verbose setting, and higher numbers get progressively more verbose.

-v, --version

Show version

--logo

Display the International Squatting Symbol.

-h, --help

Show the help message