App-GitGot
view release on metacpan or search on metacpan
lib/App/GitGot/Command/update_status.pm view on Meta::CPAN
package App::GitGot::Command::update_status;
our $AUTHORITY = 'cpan:GENEHACK';
$App::GitGot::Command::update_status::VERSION = '1.339';
# ABSTRACT: update managed repositories then display their status
use 5.014;
use Moo;
extends 'App::GitGot::Command';
use namespace::autoclean;
sub command_names { qw/ update_status upst / }
sub options {
my( $class , $app ) = @_;
return (
[ 'show-branch' => 'show which branch' => { default => 0 } ] ,
);
}
sub _execute {
my ( $self, $opt, $args ) = @_;
say "UPDATE";
$self->_update( $self->active_repos );
say "\nSTATUS";
$self->_status( $self->active_repos );
}
1;
## FIXME docs
__END__
=pod
=encoding UTF-8
=head1 NAME
App::GitGot::Command::update_status - update managed repositories then display their status
=head1 VERSION
version 1.339
=head1 AUTHOR
John SJ Anderson <john@genehack.org>
=head1 COPYRIGHT AND LICENSE
This software is copyright (c) 2020 by John SJ Anderson.
This is free software; you can redistribute it and/or modify it under
the same terms as the Perl 5 programming language system itself.
=cut
( run in 2.128 seconds using v1.01-cache-2.11-cpan-fe3c2283af0 )