line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package App::GitGot::Command::status; |
2
|
|
|
|
|
|
|
our $AUTHORITY = 'cpan:GENEHACK'; |
3
|
|
|
|
|
|
|
$App::GitGot::Command::status::VERSION = '1.336'; |
4
|
|
|
|
|
|
|
# ABSTRACT: print status info about repos |
5
|
15
|
|
|
15
|
|
6866
|
use 5.014; |
|
15
|
|
|
|
|
43
|
|
6
|
|
|
|
|
|
|
|
7
|
15
|
|
|
15
|
|
66
|
use Moo; |
|
15
|
|
|
|
|
23
|
|
|
15
|
|
|
|
|
73
|
|
8
|
|
|
|
|
|
|
extends 'App::GitGot::Command'; |
9
|
15
|
|
|
15
|
|
4228
|
use namespace::autoclean; |
|
15
|
|
|
|
|
42
|
|
|
15
|
|
|
|
|
83
|
|
10
|
|
|
|
|
|
|
|
11
|
45
|
|
|
45
|
1
|
29663
|
sub command_names { qw/ status st / } |
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
sub options { |
14
|
3
|
|
|
3
|
0
|
280
|
my( $class , $app ) = @_; |
15
|
|
|
|
|
|
|
return ( |
16
|
3
|
|
|
|
|
30
|
[ 'show-branch' => 'show which branch' => { default => 0 } ] , |
17
|
|
|
|
|
|
|
); |
18
|
|
|
|
|
|
|
} |
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
sub _execute { |
22
|
3
|
|
|
3
|
|
7
|
my ( $self, $opt, $args ) = @_; |
23
|
|
|
|
|
|
|
|
24
|
3
|
|
|
|
|
70
|
$self->_status( $self->active_repos ); |
25
|
|
|
|
|
|
|
} |
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
1; |
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
## FIXME docs |
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
__END__ |