11 Commits

Author SHA1 Message Date
Julian Tölle
bb2ca48200
fix(cli): completion requires HCLOUD_TOKEN (#19)
The current setup of the CLI requires the user to set HCLOUD_TOKEN for
every single invocation of the binary. Even if we just want to
autocomplete some arguments or even generate the completion scripts in
CI.

This fixes the bug by only initializing the hcloud-go client in the
"cleanup" and "upload" subcommands.
2024-05-10 18:06:38 +02:00
Julian Tölle
1c943e4480
feat: upload xz compressed images (#16)
Required for Talos images:
https://www.talos.dev/v1.7/talos-guides/install/cloud-platforms/hetzner/#rescue-mode
2024-05-09 19:15:54 +02:00
Julian Tölle
fcea3e3c6e
feat: upload local disk images (#15)
The new options/flag enables users to use a local file as the image,
instead of a publicly available file from a web server.
2024-05-09 16:16:37 +00:00
Julian Tölle
b17857c1fe
fix: update user-agent in CLI (#5) 2024-05-05 01:10:06 +02:00
Julian Tölle
847b696c74 feat(cli): docs grouping and version 2024-05-05 00:05:09 +02:00
Julian Tölle
9e654521ae feat(cli): hide redundant log attributes 2024-05-04 23:45:58 +02:00
Julian Tölle
c9ab40b539 feat: documentation and cleanup command 2024-05-04 22:13:33 +02:00
Julian Tölle
d0729e1cb5 chore: cleanup before publishing 2024-05-02 22:12:29 +02:00
Julian Tölle
4b77b81689 refactor: change package names 2024-05-02 21:42:36 +02:00
Julian Tölle
62578ad5c5 refactor: yeet util/ subdirs 2024-05-02 21:18:20 +02:00
Julian Tölle
b6ae95f55b feat(cli): upload command 2024-05-02 20:19:25 +02:00