NAME

WWW::Hetzner::CLI::Cmd::Costs - Show the current running cost of the project

VERSION

version 0.102

SYNOPSIS

hcloud.pl costs                          # whole project, gross prices
hcloud.pl costs --label citiai-env=live  # only resources with that label
hcloud.pl costs --net                    # net instead of gross prices
hcloud.pl costs --json                   # full structure as JSON
hcloud.pl -o json costs                  # same

Lists every priced resource (servers of any status and their backups, volumes, primary IPs, floating IPs, load balancers) with its price per hour and per month at its location, followed by the total. The header says whether the prices are net or gross. Hourly prices marked with * are derived from the monthly price (see WWW::Hetzner::Cloud::Costs).

label

Label selector (-l), passed to every list request.

net

Show net prices instead of the default gross prices.

json

Print the full result structure as JSON (same as the global -o json).

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 <torsten@raudssus.de> https://raudssus.de/.

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