Ordo/Command/Exit.pm untested

filter: Statementstmt 0.0% 0 / 15 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 7 Podpod 0.0% 0 / 6 totaltotal 0.0% 0 / 28 CC 1 SCAR 6.9
CC
1
Cov
0%
name
2.0
summary
2.0
usage
2.0
CRAP 2.0
1 package App::Ordo::Command::Exit;
2 use Moo;
3 extends 'App::Ordo::Command::Base';
4  
5 sub name { "exit" }
6 sub summary { "Exit the interactive shell" }
7 sub usage { "" }
8 sub aliases { ['quit'] }
9  
10 sub option_spec { {} }
11  
12 sub execute {
13 my ($self) = @_;
14 say colored(["bold yellow"], "Goodbye!");
15 exit 0;
16 }
17  
18 1;