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   20 use Moo;
  6         7  
  6         21  
3              
4 6     6   3052 use Chef::Knife::Cmd::Node::RunList;
  6         12  
  6         559  
5              
6             has knife => (is => 'ro', required => 1, handles => [qw/handle_options run/]);
7              
8             sub delete {
9 1     1 0 630 my ($self, $client, %options) = @_;
10 1         5 my @opts = $self->handle_options(%options);
11 1         3 my @cmd = (qw/knife client delete/, $client, @opts);
12 1         3 $self->run(@cmd);
13             }
14              
15             1;