We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 34568ca commit 0801316Copy full SHA for 0801316
main.go
@@ -43,7 +43,13 @@ func main() {
43
44
// Also add the auth group from crane to facilitate logging into a
45
// registry.
46
- cmds.AddCommand(cranecmd.NewCmdAuth())
+ authCmd := cranecmd.NewCmdAuth("ko", "auth")
47
+ // That was a mistake, but just set it to Hidden so we don't break people.
48
+ authCmd.Hidden = true
49
+ cmds.AddCommand(authCmd)
50
+
51
+ // Just add a `ko login` command:
52
+ cmds.AddCommand(cranecmd.NewCmdAuthLogin())
53
54
if err := cmds.Execute(); err != nil {
55
log.Fatal("error during command execution:", err)
0 commit comments