| JiftyX-Fixtures documentation | Contained in the JiftyX-Fixtures distribution. |
JiftyX::Fixtures::Script - Main script package handling dispatch for subcommands
version 0.07
shelling <shelling@cpan.org>
This software is Copyright (c) 2009 by <shelling@cpan.org>.
This is free software, licensed under:
The MIT (X11) License
| JiftyX-Fixtures documentation | Contained in the JiftyX-Fixtures distribution. |
package JiftyX::Fixtures::Script; our $VERSION = '0.07'; # ABSTRACT: Main script package handling dispatch for subcommands use strict; use warnings; use App::CLI; use base qw(App::CLI App::CLI::Command); sub options { return ( 'h|help|?' => 'help', 'man' => 'man', ); } sub before_run { my ($here, $self) = @_; if ($self->{help}) { print "jiftyx-fixtures v$JiftyX::Fixtures::VERSION\n"; eval 'print $' . ref($self) . '::help_msg'; exit; } } sub run { my ($here, $self) = @_; } 1; __END__