| 1 | package Shipwright::Script::Create; | ||
| 2 | |||
| 3 | 1 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | 1 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 5 | |||
| 6 | 1 | ▶ | use base qw/App::CLI::Command Shipwright::Script/; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 7 | |||
| 8 | 1 | ▶ | use Shipwright; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 9 | 1 | ▶ | use Shipwright::Util; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 10 | |||
| 11 | 1 | __PACKAGE__->mk_accessors('force'); | |
| 12 | |||
| 13 | 0 | ▶ | sub options { |
|
Subroutine
options: not called CC=1 SCAR=6.9
Pod
undocumented
| |||
| 14 | 0 | ( 'f|force' => 'force' ); | |
| 15 | } | ||
| 16 | |||
| 17 | 0 | ▶ | sub run { |
|
Subroutine
run: not called CC=1 SCAR=6.9
Pod
undocumented
| |||
| 18 | 0 | my $self = shift; | |
| 19 | |||
| 20 | 0 | my $shipwright = Shipwright->new( repository => $self->repository, ); | |
| 21 | 0 | $shipwright->backend->initialize(); | |
| 22 | 0 | $self->log->fatal( 'successfully created' ); | |
| 23 | } | ||
| 24 | |||
| 25 | 1 | 1; | |
| 26 | |||
| 27 | __END__ | ||