The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.
package MyApp::Test;
use strict;
use warnings;
use base qw(MyApp);
use CLITest;
use constant subcommands => qw(hate Cascading);
use constant options => ( 'v|verbose' => 'verbose', );

sub run {
    my $self = shift;
    cliack( $self->{verbose} ? 'v' : '', @_ );
}

package MyApp::Test::hate;
use base 'MyApp::Test';
use CLITest;

sub run {
    my $self = shift;
    cliack( $self->{verbose} ? 'v' : '', 'hate', @_ );
}

1;