« lib/WWW/Hetzner/CLI/Cmd/PlacementGroup/Cmd/Delete.pm
↑ Summary
lib/WWW/Hetzner/CLI/Cmd/PrimaryIp/Cmd/Assign.pm »
| 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__ |