// NewCmdLogin implements the login odo command
NewCmdLogin implements the login odo command
// NewCmdLogin implements the login odo command
func NewCmdLogin() *cobra.Command {
	loginCmd.Annotations = map[string]string{"command": "utility"}
	loginCmd.SetUsageTemplate(util.CmdUsageTemplate)
	loginCmd.Flags().StringVarP(&userName, "username", "u", userName, "username, will prompt if not provided")
	loginCmd.Flags().StringVarP(&password, "password", "p", password, "password, will prompt if not provided")
	loginCmd.Flags().StringVarP(&token, "token", "t", token, "token, will prompt if not provided")
	loginCmd.Flags().BoolVar(&skipTLS, "insecure-skip-tls-verify", false, "If true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure")
	loginCmd.Flags().StringVar(&caAuth, "certificate-authority", userName, "Path to a cert file for the certificate authority")
	return loginCmd
}
func NewCmdLogin ( ) * cobra . Command { loginCmd . Annotations = map [ string ] string { " " : " " } loginCmd . SetUsageTemplate ( util . CmdUsageTemplate ) loginCmd . Flags ( ) . StringVarP ( & userName , " " , " " , userName , " " ) loginCmd . Flags ( ) . StringVarP ( & password , " " , " " , password , " " ) loginCmd . Flags ( ) . StringVarP ( & token , " " , " " , token , " " ) loginCmd . Flags ( ) . BoolVar ( & skipTLS , " " , false , " " ) loginCmd . Flags ( ) . StringVar ( & caAuth , " " , userName , " " ) return loginCmd }
NewCmdLogin implements the login odo command
NewCmdLogin implements the login odo command
// Add a defined annotation in order to appear in the help menu