Commit Graph

5 Commits

Author SHA1 Message Date
Julian Tölle
4e24d83c7a
docs: add generated CLI help output to repo (#46)
Generate the help pages using `cobras` builtin functionality and commit
them to the repository. This gives users to ability to review the
options of `hcloud-upload-image` without having to install it first.
2024-11-02 21:57:53 +01:00
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
847b696c74 feat(cli): docs grouping and version 2024-05-05 00:05:09 +02:00
Julian Tölle
c9ab40b539 feat: documentation and cleanup command 2024-05-04 22:13:33 +02:00
Julian Tölle
4b77b81689 refactor: change package names 2024-05-02 21:42:36 +02:00