Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Validate all fields from within inquirer #34

Open
mhkeller opened this issue Dec 23, 2015 · 0 comments
Open

Validate all fields from within inquirer #34

mhkeller opened this issue Dec 23, 2015 · 0 comments
Assignees

Comments

@mhkeller
Copy link
Contributor

Currently, a number of things are validated after you submit your prompts from inquirier. Inquirer also allows you to validate while you're in the prompts, though, which saves time in not having to go back and redo things based on an incorrect password or something else.

The validation still must occur after the prompts because you can bypass the prompts with flags and those values need validation.

The validation functions should be broken out into their own modules and run both in the prompts and afterward.

@mhkeller mhkeller changed the title Validate password from inquirer Validate all fields from within inquirer Dec 23, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants