NAME

WWW::Hetzner::CLI - Hetzner Cloud CLI

VERSION

version 0.002

SYNOPSIS

use WWW::Hetzner::CLI;
WWW::Hetzner::CLI->new_with_cmd;

DESCRIPTION

Main CLI class for the Hetzner Cloud API client. Uses MooX::Cmd for subcommand handling.

This CLI is designed to be a 1:1 replica of the official hcloud CLI from Hetzner (https://github.com/hetznercloud/cli). Command structure, options, and output should match the original tool as closely as possible.

COMMANDS

Server & Compute

  • server - Manage cloud servers (list, create, delete, describe, poweron, poweroff, reboot, shutdown, reset, rebuild, rescue)

  • servertype - List server types

  • image - List images

  • sshkey - Manage SSH keys (list, create, delete, describe)

  • placement-group - Manage placement groups (list, create, delete, describe)

Networking

  • network - Manage private networks (list, create, delete, describe, add-subnet, add-route)

  • firewall - Manage firewalls (list, create, delete, describe, add-rule, apply-to, remove-from)

  • floating-ip - Manage floating IPs (list, create, delete, describe, assign, unassign)

  • primary-ip - Manage primary IPs (list, create, delete, describe, assign, unassign)

  • load-balancer - Manage load balancers (list, create, delete, describe, add-target, add-service)

Storage

  • volume - Manage volumes (list, create, delete, describe, attach, detach, resize)

DNS

  • zone - Manage DNS zones (list, create, delete, describe)

  • record - Manage DNS records (list, create, delete, describe)

Security

  • certificate - Manage TLS certificates (list, create, delete, describe)

Info

  • location - List locations

  • datacenter - List datacenters

token

Hetzner Cloud API token. Use --token or -t flag, or set via HETZNER_API_TOKEN environment variable.

output

Output format: table (default) or json. Use --output or -o flag.

cloud

WWW::Hetzner::Cloud instance.

execute

Main entry point. Shows help when no subcommand is given.

SEE ALSO

WWW::Hetzner::Cloud

SUPPORT

Issues

Please report bugs and feature requests on GitHub at https://github.com/Getty/p5-www-hetzner/issues.

IRC

Join #kubernetes on irc.perl.org or message Getty directly.

CONTRIBUTING

Contributions are welcome! Please fork the repository and submit a pull request.

AUTHOR

Torsten Raudssus <torsten@raudssus.de>

COPYRIGHT AND LICENSE

This software is copyright (c) 2026 by Torsten Raudssus.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.