| 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
| |||||||||||
| 43 | } | ||||||||||
| 44 | |||||||||||
| 45 | 1 | 1; | |||||||||