| 1 | package App::GitGot::Command::status; | ||
| 2 | 16 | our $AUTHORITY = 'cpan:GENEHACK'; | |
| 3 | 16 | $App::GitGot::Command::status::VERSION = '1.339'; | |
| 4 | # ABSTRACT: print status info about repos | ||
| 5 | 16 | ▶ | use 5.014; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 6 | |||
| 7 | 16 | ▶ | use Moo; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 8 | 16 | extends 'App::GitGot::Command'; | |
| 9 | 16 | ▶ | use namespace::autoclean; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 10 | |||
| 11 | 45 | ▶ | sub command_names { qw/ status st / } |
|
Subroutine
command_names: called CC=1 SCAR=0.0
Pod
documented
| |||
| 12 | |||
| 13 | 3 | ▶ | sub options { |
|
Subroutine
options: called CC=1 SCAR=0.0
Pod
undocumented
| |||
| 14 | 3 | my( $class , $app ) = @_; | |
| 15 | return ( | ||
| 16 | 3 | [ 'show-branch' => 'show which branch' => { default => 0 } ] , | |
| 17 | ); | ||
| 18 | } | ||
| 19 | |||
| 20 | |||
| 21 | 3 | ▶ | sub _execute { |
|
Subroutine
_execute: called CC=1 SCAR=0.0
| |||
| 22 | 3 | my ( $self, $opt, $args ) = @_; | |
| 23 | |||
| 24 | 3 | $self->_status( $self->active_repos ); | |
| 25 | } | ||
| 26 | |||
| 27 | 16 | 1; | |
| 28 | |||
| 29 | ## FIXME docs | ||
| 30 | |||
| 31 | __END__ | ||