line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package App::DuckPAN::Cmd::Help; |
2
|
|
|
|
|
|
|
our $AUTHORITY = 'cpan:DDG'; |
3
|
|
|
|
|
|
|
# ABSTRACT: Launch help page |
4
|
|
|
|
|
|
|
$App::DuckPAN::Cmd::Help::VERSION = '1019'; |
5
|
5
|
|
|
5
|
|
31
|
use Moo; |
|
5
|
|
|
|
|
12
|
|
|
5
|
|
|
|
|
39
|
|
6
|
|
|
|
|
|
|
with qw( App::DuckPAN::Option::Global ); |
7
|
|
|
|
|
|
|
|
8
|
5
|
|
|
5
|
|
1849
|
use MooX::Options protect_argv => 0; |
|
5
|
|
|
|
|
12
|
|
|
5
|
|
|
|
|
56
|
|
9
|
5
|
|
|
5
|
|
11174
|
use Pod::Usage qw(pod2usage); |
|
5
|
|
|
|
|
146124
|
|
|
5
|
|
|
|
|
726
|
|
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
sub run { |
12
|
2
|
|
|
2
|
0
|
10
|
my ($self, $short_output) = @_; |
13
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
|
15
|
2
|
100
|
|
|
|
17
|
pod2usage(-verbose => 2) unless $short_output; |
16
|
1
|
|
|
|
|
11
|
pod2usage(-verbose => 1); |
17
|
|
|
|
|
|
|
} |
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
1; |
20
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
__END__ |
22
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
=pod |
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
=head1 NAME |
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
App::DuckPAN::Cmd::Help - Launch help page |
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
=head1 VERSION |
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
version 1019 |
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
=head1 AUTHOR |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
DuckDuckGo <open@duckduckgo.com>, Zach Thompson <zach@duckduckgo.com>, Zaahir Moolla <moollaza@duckduckgo.com>, Torsten Raudssus <torsten@raudss.us> L<https://raudss.us/> |
36
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
=head1 COPYRIGHT AND LICENSE |
38
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
This software is Copyright (c) 2013 by DuckDuckGo, Inc. L<https://duckduckgo.com/>. |
40
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
This is free software, licensed under: |
42
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
The Apache License, Version 2.0, January 2004 |
44
|
|
|
|
|
|
|
|
45
|
|
|
|
|
|
|
=cut |