lib/WWW/Hetzner/CLI/Cmd/Network.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::Network;
2 # ABSTRACT: Hetzner Cloud Network 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 network <subcommand>';
9  
10 sub execute {
11 my ($self) = @_;
12 print "Usage: hcloud.pl network <subcommand>\n\n";
13 print "Subcommands:\n";
14 print " list List all networks\n";
15 print " describe Show network details\n";
16 print " create Create a network\n";
17 print " delete Delete a network\n";
18 print " add-subnet Add a subnet to network\n";
19 print " add-route Add a route to network\n";
20 }
21  
22 1;
23  
24 __END__