lib/App/gh/Command/Pullreq.pm

filter: Statementstmt 90.4% 19 / 21 Branchbran 0.0% 0 / 2 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 85.7% 6 / 7 Podpod 0.0% 0 / 1 totaltotal 80.6% 25 / 31 CC 2 SCAR 8.1
CC
2
Cov
83%
run
6.0
BEGIN
1.0
BEGIN
1.0
CRAP 2.2
« blib/lib/App/gh/Command/Issue.pm ↑ Summary blib/lib/App/gh/Command/Help.pm »
1 package App::gh::Command::Pullreq;
2 1 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
3 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 1 ▶use base qw(App::gh::Command);
Subroutine BEGIN: called CC=1 SCAR=0.0
5 1 ▶use App::gh;
Subroutine BEGIN: called CC=1 SCAR=0.0
6 1 ▶use App::gh::Utils;
Subroutine BEGIN: called CC=1 SCAR=0.0
7  
8 1 ▶use constant subcommands => qw(List Show Send);
Subroutine BEGIN: called CC=1 SCAR=0.0
9  
10 =head1 NAME
11  
12 App::gh::Command::Pullreq - pull request. (show/list/send)
13  
14 =head1 USAGE
15  
16 Send a pull request
17  
18 before that, make sure you've set EDITOR environment variable.
19  
20 $ gh pullreq send
21  
22 List pull requests
23  
24 $ gh pullreq list
25 ...
26  
27 Show pull requests issue {N}:
28  
29 $ gh pullreq show {N}
30  
31  
32 More about pullreq send command:
33  
34 $ gh pullreq send
35  
36 $ gh pullreq send master c9s/App-gh
37  
38 =cut
39  
40 0 ▶sub run {
Subroutine run: not called CC=2 SCAR=17.9
Pod undocumented
41 0 my ($self, @args) = @_;
42 0 ▶ $self->global_help unless @args;
Branch: 1 branch
BranchTrueFalseTotal
unless @args 0 0 0
43 }
44  
45 1 1;
« blib/lib/App/gh/Command/Issue.pm ↑ Summary blib/lib/App/gh/Command/Help.pm »