From: Jonathan Rockway Date: Thu, 7 May 2009 07:56:45 +0000 (-0500) Subject: clarify mx-run syntax X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=6c3ff9ca7da627e2c68ec52f93fe70f0ffae77a8;p=gitmo%2FMooseX-Runnable.git clarify mx-run syntax --- diff --git a/lib/MooseX/Runnable.pm b/lib/MooseX/Runnable.pm index f4a39b6..77189dc 100644 --- a/lib/MooseX/Runnable.pm +++ b/lib/MooseX/Runnable.pm @@ -1,7 +1,7 @@ package MooseX::Runnable; use Moose::Role; -our $VERSION = '0.00_01'; +our $VERSION = '0.00_02'; requires 'run'; @@ -62,15 +62,18 @@ run it, using C. The syntax is: + mx-run Class::Name + mx-run -- Class::Name for example: - mx-run -Ilib -- App::HelloWorld --args --go --here + mx-run -Ilib App::HelloWorld --args --go --here or: - mx-run -Ilib +Persistent --port 8080 -Persistent -- App::HelloWorld --args --go --here + mx-run -Ilib +Persistent --port 8080 -- App::HelloWorld --args --go --here + =head2 C If you don't want to invoke your app with C, you can write a