m/c/metroctl: add skeleton and dependencies
This adds the skeleton for the Metropolis control command line,
metroctl. It currently consists of a single root command doing nothing
and the dependency updates for viper, the library providing command
line parsing and completion support.
Actual functionality will be in subsequent CLs.
Change-Id: I73d0e2956d9550902a80295928e94cb32bb12cfc
Reviewed-on: https://review.monogon.dev/c/monogon/+/337
Reviewed-by: Sergiusz Bazanski <serge@monogon.tech>
diff --git a/build/fietsje/main.go b/build/fietsje/main.go
index b511873..6fb66e1 100644
--- a/build/fietsje/main.go
+++ b/build/fietsje/main.go
@@ -69,6 +69,11 @@
// our own deps, common
p.collectOverride("go.uber.org/zap", "v1.15.0")
p.collectOverride("golang.org/x/mod", "v0.3.0")
+ p.collectOverride("github.com/spf13/viper", "v1.9.0").use(
+ "gopkg.in/ini.v1",
+ "github.com/subosito/gotenv",
+ )
+ p.collectOverride("github.com/spf13/cobra", "v1.2.1")
p.collect("github.com/cenkalti/backoff/v4", "v4.0.2")
p.collect("github.com/google/go-tpm", "ae6dd98980d4")