hcloud-upload-image/go.mod
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

27 lines
910 B
Modula-2

module github.com/apricote/hcloud-upload-image
go 1.22.2
require (
github.com/apricote/hcloud-upload-image/hcloudimages v0.2.0
github.com/hetznercloud/hcloud-go/v2 v2.8.0
github.com/spf13/cobra v1.8.0
)
require (
github.com/beorn7/perks v1.0.1 // indirect
github.com/cespare/xxhash/v2 v2.2.0 // indirect
github.com/inconshreveable/mousetrap v1.1.0 // indirect
github.com/prometheus/client_golang v1.19.0 // indirect
github.com/prometheus/client_model v0.5.0 // indirect
github.com/prometheus/common v0.48.0 // indirect
github.com/prometheus/procfs v0.12.0 // indirect
github.com/spf13/pflag v1.0.5 // indirect
golang.org/x/crypto v0.23.0 // indirect
golang.org/x/net v0.24.0 // indirect
golang.org/x/sys v0.20.0 // indirect
golang.org/x/text v0.15.0 // indirect
google.golang.org/protobuf v1.33.0 // indirect
)
replace github.com/apricote/hcloud-upload-image/hcloudimages => ./hcloudimages