There is an ongoing outage on the primary CPAN mirror. It is possible to work around the issue by using MetaCPAN as a mirror.

NAME

App::Spec::Option - App::Spec objects representing command line option specs

SYNOPSIS

This class inherits from App::Spec::Argument

METHODS

build
my $option = App::Spec::Option->build(
    name => 'verbose',
    summary => 'lala',
    aliases => ['v'],
);
aliases

Attribute which represents the one from the spec.