File Coverage

blib/lib/Chef/Knife/Cmd/Client.pm
Criterion Covered Total %
statement 10 10 100.0
branch n/a
condition n/a
subroutine 3 3 100.0
pod 0 1 0.0
total 13 14 92.8


line stmt bran cond sub pod time code
1             package Chef::Knife::Cmd::Client;
2 6     6   24 use Moo;
  6         9  
  6         22  
3              
4 6     6   3235 use Chef::Knife::Cmd::Node::RunList;
  6         20  
  6         631  
5              
6             has knife => (is => 'ro', required => 1, handles => [qw/handle_options run/]);
7              
8             sub delete {
9 1     1 0 695 my ($self, $client, %options) = @_;
10 1         18 my @opts = $self->handle_options(%options);
11 1         4 my @cmd = (qw/knife client delete/, $client, @opts);
12 1         15 $self->run(@cmd);
13             }
14              
15             1;