Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100755 31 lines (19 sloc) 0.42 kb
b23990e @miyagawa fix shebang. Fixes gh-9
authored
1 #!perl
15669ae @miyagawa forgot to add
authored
2 use strict;
3 use Plack::Runner;
4
40c2ad0 @miyagawa Implemented twiggy -v
authored
5 sub version {
6 require Twiggy;
7 print "Twiggy $Twiggy::VERSION\n";
8 }
9
10 my $runner = Plack::Runner->new(server => 'Twiggy', env => 'deployment', version_cb => \&version);
15669ae @miyagawa forgot to add
authored
11 $runner->parse_options(@ARGV);
12 $runner->run;
13
14 __END__
15
16 =head1 NAME
17
18 twiggy - Twiggy launcher
19
20 =head1 SYNOPSIS
21
22 twiggy --listen :9090
23
24 Run C<plackup -h> for more options.
25
26 =head1 SEE ALSO
27
500822a @miyagawa make it a top level namespace. See =head1 NAMING for details
authored
28 L<Twiggy>
15669ae @miyagawa forgot to add
authored
29
30 =cut
Something went wrong with that request. Please try again.