Repository

Prompts

Beautiful interactive prompts for V. Inspired from javascript prompts package .

Demo

demo

Examples

// Basic input
input("What's your name ?")

// Hidden basic input
input_password("Type a password")!

// Yes/No question with initial response
confirm('Do you like this package ?', true)

// Single choice presented in a list
choice('What color do you prefer ?', ['Purple', 'Pink', 'Yellow', 'Blue'])

// Multi choice presented in a list
multichoice('What animals do you like ?', ['Cat', 'Dog', 'Bird'])

About

Beautiful interactive prompts for V

0
7
last May 12

Author

Brawdunoir