| 1 | package Tapper::CLI::API; | ||||||||||
| 2 | 2 | our $AUTHORITY = 'cpan:TAPPER'; | |||||||||
| 3 | 2 | $Tapper::CLI::API::VERSION = '5.0.8'; | |||||||||
| 4 | 2 | ▶ | use strict; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 5 | 2 | ▶ | use warnings; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 6 | |||||||||||
| 7 | 2 | ▶ | use parent 'App::Cmd'; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 8 | 2 | ▶ | use Tapper::Model 'model'; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 9 | |||||||||||
| 10 | sub opt_spec | ||||||||||
| 11 | 0 | ▶ | { | ||||||||
|
Subroutine
opt_spec: not called CC=1 SCAR=6.9
Pod
undocumented
| |||||||||||
| 12 | 0 | my ( $class, $app ) = @_; | |||||||||
| 13 | |||||||||||
| 14 | return ( | ||||||||||
| 15 | 0 | [ 'help' => "This usage screen" ], | |||||||||
| 16 | $class->options($app), | ||||||||||
| 17 | ); | ||||||||||
| 18 | } | ||||||||||
| 19 | |||||||||||
| 20 | sub validate_args | ||||||||||
| 21 | 0 | ▶ | { | ||||||||
|
Subroutine
validate_args: not called CC=2 SCAR=17.9
Pod
undocumented
| |||||||||||
| 22 | 0 | my ( $self, $opt, $args ) = @_; | |||||||||
| 23 | |||||||||||
| 24 | 0 | ▶ | die $self->_usage_text if $opt->{help}; | ||||||||
|
Branch: 1 branch
| |||||||||||
| 25 | 0 | $self->validate( $opt, $args ); | |||||||||
| 26 | } | ||||||||||
| 27 | |||||||||||
| 28 | 2 | 1; | |||||||||
| 29 | |||||||||||
| 30 | __END__ | ||||||||||