lib/WWW/Hetzner/CLI/Cmd/PrimaryIp.pm untested

filter: Statementstmt 0.0% 0 / 20 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 4 Podpod 0.0% 0 / 1 totaltotal 0.0% 0 / 25 CC 1 SCAR 6.9
CC
1
Cov
0%
execute
2.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1 package WWW::Hetzner::CLI::Cmd::PrimaryIp;
2 # ABSTRACT: Hetzner Cloud Primary IP commands
3  
4 our $VERSION = '0.100';
5  
6 use Moo;
7 use MooX::Cmd;
8 use MooX::Options protect_argv => 0, usage_string => 'USAGE: hcloud.pl primary-ip <subcommand>';
9  
10 sub execute {
11 my ($self) = @_;
12 print "Usage: hcloud.pl primary-ip <subcommand>\n\n";
13 print "Subcommands:\n";
14 print " list List all primary IPs\n";
15 print " describe Show primary IP details\n";
16 print " create Create a primary IP\n";
17 print " delete Delete a primary IP\n";
18 print " assign Assign to a server\n";
19 print " unassign Unassign from server\n";
20 }
21  
22 1;
23  
24 __END__