File Coverage

blib/lib/Dist/Zilla/App/Command/nop.pm
Criterion Covered Total %
statement 6 10 60.0
branch n/a
condition n/a
subroutine 2 5 40.0
pod 3 3 100.0
total 11 18 61.1


line stmt bran cond sub pod time code
1             # ABSTRACT: initialize dzil, then exit
2              
3             use Dist::Zilla::Pragmas;
4 4     4   2925  
  4         10  
  4         33  
5             use Dist::Zilla::App -command;
6 4     4   31  
  4         10  
  4         33  
7             #pod =head1 SYNOPSIS
8             #pod
9             #pod This command does nothing. It initializes Dist::Zilla, then exits. This is
10             #pod useful to see the logging output of plugin initialization.
11             #pod
12             #pod dzil nop -v
13             #pod
14             #pod Seriously, this command is almost entirely for diagnostic purposes. Don't
15             #pod overthink it, okay?
16             #pod
17             #pod =cut
18              
19              
20 0     0 1   "This command does nothing but initialize Dist::Zilla and exit.\n" .
21             "It is sometimes useful for diagnostic purposes."
22             }
23 0     0 1    
24             my ($self, $opt, $arg) = @_;
25              
26             $self->zilla;
27             }
28 0     0 1    
29             1;
30 0            
31              
32             =pod
33              
34             =encoding UTF-8
35              
36             =head1 NAME
37              
38             Dist::Zilla::App::Command::nop - initialize dzil, then exit
39              
40             =head1 VERSION
41              
42             version 6.028
43              
44             =head1 SYNOPSIS
45              
46             This command does nothing. It initializes Dist::Zilla, then exits. This is
47             useful to see the logging output of plugin initialization.
48              
49             dzil nop -v
50              
51             Seriously, this command is almost entirely for diagnostic purposes. Don't
52             overthink it, okay?
53              
54             =head1 PERL VERSION
55              
56             This module should work on any version of perl still receiving updates from
57             the Perl 5 Porters. This means it should work on any version of perl released
58             in the last two to three years. (That is, if the most recently released
59             version is v5.40, then this module should work on both v5.40 and v5.38.)
60              
61             Although it may work on older versions of perl, no guarantee is made that the
62             minimum required version will not be increased. The version may be increased
63             for any reason, and there is no promise that patches will be accepted to lower
64             the minimum required perl.
65              
66             =head1 AUTHOR
67              
68             Ricardo SIGNES 😏 <cpan@semiotic.systems>
69              
70             =head1 COPYRIGHT AND LICENSE
71              
72             This software is copyright (c) 2022 by Ricardo SIGNES.
73              
74             This is free software; you can redistribute it and/or modify it under
75             the same terms as the Perl 5 programming language system itself.
76              
77             =cut