Prompt.IO.Examples (prompt v0.12.0)
View SourceRunnable examples of all the input and output functions.
Each of these can be ran using mix run
Summary
Functions
See Prompt.display/2 for full docs on displaying text
See Prompt.select/3 for full select docs
See Prompt.select/2 for full select docs
See Prompt.password/2 for full docs on password input
See Prompt.select/2 for full select docs
See Prompt.text/2 for full docs on text input
Functions
See Prompt.display/2 for full docs on displaying text
Run the following command to see an examples of the display function
mix run -e "Prompt.IO.Examples.display()"
See Prompt.select/3 for full select docs
A long list with suggested choices first, a type-to-filter search, and an entry for something new. Run:
mix run -e "Prompt.IO.Examples.filter_select()"
See Prompt.select/2 for full select docs
Run the following command to see an example of multi-select
mix run -e "Prompt.IO.Examples.multi_select()"
See Prompt.password/2 for full docs on password input
Run the following command to examples of asking for concealed input
mix run -e "Prompt.IO.Examples.password()"
See Prompt.select/2 for full select docs
Run the following command to see an example of a single select
mix run -e "Prompt.IO.Examples.single_select()"
See Prompt.text/2 for full docs on text input
Run the following command to examples of asking for user text input
mix run -e "Prompt.IO.Examples.text()"