func EmailPrompt(defaultValue string) (string, error) {
	prompt := promptui.Prompt{
		Label: "Email",
		Validate: func(input string) error {
			if govalidator.IsEmail(input) {
				return nil
			}
			return promptui.NewValidationError("Please enter a valid email address")
		},
	}
	if defaultValue != "" {
		prompt.Default = defaultValue
	}

	return prompt.Run()
}
// EmailPrompt prompts the user to input an email
EmailPrompt prompts the user to input an email
// EmailPrompt prompts the user to input an email
func EmailPrompt(defaultValue string) (string, error) {
	prompt := promptui.Prompt{
		Label: "Email",
		Validate: func(input string) error {
			if govalidator.IsEmail(input) {
				return nil
			}
			return promptui.NewValidationError("Please enter a valid email address")
		},
	}
	if defaultValue != "" {
		prompt.Default = defaultValue
	}
	return prompt.Run()
}
func EmailPrompt ( defaultValue string ) ( string , error ) { prompt := promptui . Prompt { Label : " " , Validate : func ( input string ) error { if govalidator . IsEmail ( input ) { return nil } return promptui . NewValidationError ( " " ) } , } if defaultValue != " " { prompt . Default = defaultValue } return prompt . Run ( ) }
EmailPrompt prompts the user to input an email
EmailPrompt prompts the user to input an email