File Coverage

blib/lib/App/GitGot/Command/update.pm
Criterion Covered Total %
statement 11 11 100.0
branch n/a
condition n/a
subroutine 5 5 100.0
pod 1 1 100.0
total 17 17 100.0


line stmt bran cond sub pod time code
1             package App::GitGot::Command::update;
2             our $AUTHORITY = 'cpan:GENEHACK';
3             $App::GitGot::Command::update::VERSION = '1.336';
4             # ABSTRACT: update managed repositories
5 15     15   7277 use 5.014;
  15         46  
6              
7 15     15   69 use Moo;
  15         22  
  15         76  
8             extends 'App::GitGot::Command';
9 15     15   4374 use namespace::autoclean;
  15         29  
  15         73  
10              
11 43     43 1 34131 sub command_names { qw/ update up / }
12              
13             sub _execute {
14 1     1   4 my ( $self, $opt, $args ) = @_;
15              
16 1         24 $self->_update( $self->active_repos );
17             }
18              
19             1;
20              
21             ## FIXME docs
22              
23             __END__