docs: add generated CLI help output to repo

This commit is contained in:
Julian Tölle 2024-11-02 21:52:28 +01:00
parent 6d8d2a02df
commit 3f5ab06409
11 changed files with 188 additions and 18 deletions

View file

@ -18,11 +18,12 @@ that match the label "apricote.de/created-by=hcloud-upload-image".
If you want to see a preview of what would be removed, you can use the official hcloud CLI and run:
$ hcloud server list -l apricote.de/created-by=hcloud-upload-image
$ hcloud ssh-key list -l apricote.de/created-by=hcloud-upload-image
$ hcloud server list -l apricote.de/created-by=hcloud-upload-image
$ hcloud ssh-key list -l apricote.de/created-by=hcloud-upload-image
This command does not handle any parallel executions of hcloud-upload-image
and will remove in-use resources if called at the same time.`,
DisableAutoGenTag: true,
GroupID: "primary",
@ -44,5 +45,5 @@ and will remove in-use resources if called at the same time.`,
}
func init() {
rootCmd.AddCommand(cleanupCmd)
RootCmd.AddCommand(cleanupCmd)
}