NAME

WWW::Hetzner::CLI - Hetzner Cloud CLI

VERSION

version 0.001

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.

NAME

WWW::Hetzner::CLI - Command-line interface for Hetzner Cloud

ATTRIBUTES

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.

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

SEE ALSO

WWW::Hetzner::Cloud

SUPPORT

Source Code

The code is open to the world, and available for you to hack on. Please feel free to browse it and play with it, or whatever. If you want to contribute patches, please send me a diff or prod me to pull from your repository :)

https://github.com/Getty/p5-www-hetzner

git clone https://github.com/Getty/p5-www-hetzner.git

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.