SD/CLI/Command/Browser.pm untested

filter: Statementstmt 0.0% 0 / 15 Branchbran 0.0% 0 / 2 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 19 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1 package App::SD::CLI::Command::Browser;
2 use Any::Moose;
3  
4 extends 'App::SD::CLI::Command::Server';
5  
6 override run => sub {
7 my $self = shift;
8 $self->print_usage if $self->has_arg('h');
9  
10 $self->server->with_browser(1);
11  
12 Prophet::CLI->end_pager();
13 print "Browser will be opened after server has been started.\n";
14 $self->SUPER::run();
15 };
16  
17 __PACKAGE__->meta->make_immutable;
18 no Any::Moose;
19 1;