| 1 | package Tapper::CLI::DbDeploy; | ||||||||||
| 2 | 6 | our $AUTHORITY = 'cpan:TAPPER'; | |||||||||
| 3 | 6 | $Tapper::CLI::DbDeploy::VERSION = '5.0.8'; | |||||||||
| 4 | 6 | ▶ | use strict; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 5 | 6 | ▶ | use warnings; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 6 | |||||||||||
| 7 | 6 | ▶ | use Tapper::Model 'model'; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 8 | 6 | ▶ | use parent 'App::Cmd'; | ||||||||
|
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 | 0 | ▶ | sub global_opt_spec { | ||||||||
|
Subroutine
global_opt_spec: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||
| 21 | return ( | ||||||||||
| 22 | 0 | [ 'l' => "Prepend ./lib/ to module search path \@INC" ], | |||||||||
| 23 | ); | ||||||||||
| 24 | } | ||||||||||
| 25 | |||||||||||
| 26 | |||||||||||
| 27 | sub execute_command | ||||||||||
| 28 | 0 | ▶ | { | ||||||||
|
Subroutine
execute_command: not called CC=2 SCAR=17.9
Pod
documented
| |||||||||||
| 29 | 0 | my ($cmd, $opt, $args) = @_; | |||||||||
| 30 | |||||||||||
| 31 | 0 | ▶ | if ($cmd->global_options->{l}) { | ||||||||
|
Branch: 1 branch
| |||||||||||
| 32 | 0 | eval "use lib './lib/'"; ## no critic | |||||||||
| 33 | } | ||||||||||
| 34 | |||||||||||
| 35 | 0 | App::Cmd::execute_command(@_); | |||||||||
| 36 | } | ||||||||||
| 37 | |||||||||||
| 38 | # sub validate_args | ||||||||||
| 39 | # { | ||||||||||
| 40 | # my ( $self, $opt, $args ) = @_; | ||||||||||
| 41 | |||||||||||
| 42 | # die $self->_usage_text if $opt->{help}; | ||||||||||
| 43 | # use Data::Dumper; | ||||||||||
| 44 | # $self->validate( $opt, $args ); | ||||||||||
| 45 | # } | ||||||||||
| 46 | |||||||||||
| 47 | 6 | 1; | |||||||||
| 48 | |||||||||||
| 49 | __END__ | ||||||||||