SD/CLI/Command/Attachment/Content.pm untested

filter: Statementstmt 0.0% 0 / 15 Branchbran 0.0% 0 / 2 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 3 Podpod 0.0% 0 / 1 totaltotal 0.0% 0 / 21 CC 2 SCAR 13.9
CC
2
Cov
0%
run
6.0
BEGIN
2.0
BEGIN
2.0
CRAP 4.0
1 package App::SD::CLI::Command::Attachment::Content;
2 use Any::Moose;
3 extends 'Prophet::CLI::Command::Show';
4 with 'App::SD::CLI::Model::Attachment';
5 with 'App::SD::CLI::Command';
6  
7 sub run {
8 my $self = shift;
9  
10 $self->print_usage if $self->has_arg('h');
11  
12 my $record = $self->_get_record_object;
13 $record->load(uuid => $self->uuid);
14 print $record->prop('content');
15 }
16  
17 __PACKAGE__->meta->make_immutable;
18 no Any::Moose;
19  
20 1;
21