]>
iEval git - app-zealc.git/blob - lib/App/Zealc/Command.pm
1 package App
::Zealc
::Command
;
7 our $VERSION = '0.000_001';
9 use parent qw
/App::Cmd::Command/;
10 use App
::Zealc
::UsageExtractor
;
14 my ($file) = (ref $self) =~ s
,::,/,gr
;
15 my $parser = App
::Zealc
::UsageExtractor
->new;
16 $parser->parse_file($INC{"$file.pm"});
27 App::Zealc::Command - Base class for zealc commands
31 package App::Zealc::Command::foo;
32 use App::Zealc '-command';
36 App::Zealc::Command is the base class of all zealc commands. Its only
37 role is to supply a default C<description> method that extracts the
38 SYNOPSIS and DESCRIPTION sections using L<App::Zealc::UsageExtractor>.
42 L<App::Zealc::UsageExtractor>, L<zealc>, L<Zeal>
46 Marius Gavrilescu, E<lt>marius@ieval.roE<gt>
48 =head1 COPYRIGHT AND LICENSE
50 Copyright (C) 2015 by Marius Gavrilescu
52 This library is free software; you can redistribute it and/or modify
53 it under the same terms as Perl itself, either Perl version 5.20.1 or,
54 at your option, any later version of Perl 5 you may have available.
This page took 0.05173 seconds and 5 git commands to generate.