| 1 | package App::BCSSH::Command::vi; | ||||||||||
| 2 | 1 | ▶ | use Moo; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 3 | 1 | ▶ | use App::BCSSH::Options; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 4 | 1 | with Options; | |||||||||
| 5 | 1 | with 'App::BCSSH::Client'; | |||||||||
| 6 | |||||||||||
| 7 | 1 | ▶ | use File::Spec; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 8 | |||||||||||
| 9 | 0 | ▶ | has 'wait' => (is => 'ro', coerce => sub { $_[0] ? 1 : 0 }, arg_spec => 'f'); | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=13.0
Branch: 1 branch
| |||||||||||
| 10 | |||||||||||
| 11 | 0 | ▶ | sub run { | ||||||||
|
Subroutine
run: not called CC=3 SCAR=24.8
Pod
undocumented
| |||||||||||
| 12 | 0 | my $self = shift; | |||||||||
| 13 | 0 | my @files = @{ $self->args }; | |||||||||
| 14 | 0 | ▶ | @files or die "At least one file must be specified!\n"; | ||||||||
|
Branch: 1 branch
| |||||||||||
| 15 | 0 | for my $file (@files) { | |||||||||
| 16 | 0 | $file = File::Spec->rel2abs($file); | |||||||||
| 17 | } | ||||||||||
| 18 | 0 | $self->command({ wait => $self->wait, files => \@files }); | |||||||||
| 19 | } | ||||||||||
| 20 | |||||||||||
| 21 | 1 | 1; | |||||||||
| 22 | __END__ | ||||||||||