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::ConfigTest;

use strict;
use base qw(App::CLI::Command);
use constant options => ("c|color=s" => "color");

sub run {

    my($self, @args) = @_;
    $main::RESULT = $self->config->{$self->{color}};
}
1;