You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 19, 2024. It is now read-only.
This commit adds a MultiInput prompt allowing a user to enter multiple
distinct values for a question. These are then returned as a []string.
For example:
? What are your friend's names?
Then the user is prompted for the first answer, then the second and so
on until they enter an empty line, at which point the question will be
exited.
? AlecAivazis#1: Batman
? AlecAivazis#2: Joker
? AlecAivazis#3:
Then once finished they enter an empty line and the question will
finish, outputting the answers.
? What are your friend's names? [Batman Joker]
eimlav
added a commit
to eimlav/survey
that referenced
this issue
Jun 5, 2019
This commit adds a MultiInput prompt allowing a user to enter multiple
distinct values for a question. These are then returned as a []string.
For example:
? What are your friend's names?
Then the user is prompted for the first answer, then the second and so
on.
? AlecAivazis#1: Batman
? AlecAivazis#2: Joker
? AlecAivazis#3:
Then once finished they enter an empty line and the question will exit,
outputting the answers.
? What are your friend's names? [Batman Joker]
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Inquirer styles this in grey surrounded by
()
after the messageThe text was updated successfully, but these errors were encountered: