| 1 | #!/usr/bin/perl | ||||||||||
| 2 | |||||||||||
| 3 | # PODNAME: tapper | ||||||||||
| 4 | # ABSTRACT: Tapper - primary cmdline frontend - the future Platzhirsch | ||||||||||
| 5 | |||||||||||
| 6 | 71 | ▶ | use App::Rad; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 7 | 71 | ▶ | use Module::Load; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 8 | |||||||||||
| 9 | 71 | ▶ | use strict; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 10 | 71 | ▶ | use warnings; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 11 | 71 | ▶ | use 5.010; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 12 | |||||||||||
| 13 | 71 | ▶ | sub setup { | ||||||||
|
Subroutine
setup: called CC=3 SCAR=11.0
| |||||||||||
| 14 | |||||||||||
| 15 | 71 | my ( $or_app_rad ) = @_; | |||||||||
| 16 | |||||||||||
| 17 | 71 | for my $s_module (qw/ | |||||||||
| 18 | Tapper::CLI::Notification | ||||||||||
| 19 | Tapper::CLI::Schema | ||||||||||
| 20 | Tapper::CLI::Testplan | ||||||||||
| 21 | Tapper::CLI::User | ||||||||||
| 22 | Tapper::CLI::Host | ||||||||||
| 23 | Tapper::CLI::HostFeature | ||||||||||
| 24 | Tapper::CLI::Cobbler | ||||||||||
| 25 | Tapper::CLI::Init | ||||||||||
| 26 | Tapper::CLI::Testrun | ||||||||||
| 27 | Tapper::CLI::Precondition | ||||||||||
| 28 | Tapper::CLI::Queue | ||||||||||
| 29 | Tapper::CLI::Scenario | ||||||||||
| 30 | Tapper::CLI::Resource | ||||||||||
| 31 | /) { | ||||||||||
| 32 | 923 | Module::Load::load( $s_module ); | |||||||||
| 33 | 923 | ▶ | if ( my $fh_setup = $s_module->can('setup') ) { | ||||||||
|
Branch: 1 branch
| |||||||||||
| 34 | 923 | $fh_setup->( $or_app_rad ); | |||||||||
| 35 | } | ||||||||||
| 36 | } | ||||||||||
| 37 | |||||||||||
| 38 | 71 | return 1; | |||||||||
| 39 | |||||||||||
| 40 | } | ||||||||||
| 41 | |||||||||||
| 42 | 71 | App::Rad->run(); | |||||||||
| 43 | |||||||||||
| 44 | __END__ | ||||||||||