diff --git a/main.go b/main.go index 1f37fa0971..6ee56b9159 100644 --- a/main.go +++ b/main.go @@ -43,7 +43,13 @@ func main() { // Also add the auth group from crane to facilitate logging into a // registry. - cmds.AddCommand(cranecmd.NewCmdAuth()) + authCmd := cranecmd.NewCmdAuth("ko", "auth") + // That was a mistake, but just set it to Hidden so we don't break people. + authCmd.Hidden = true + cmds.AddCommand(authCmd) + + // Just add a `ko login` command: + cmds.AddCommand(cranecmd.NewCmdAuthLogin()) if err := cmds.Execute(); err != nil { log.Fatal("error during command execution:", err)