Skip to content

Commit

Permalink
added quickstart
Browse files Browse the repository at this point in the history
  • Loading branch information
tmbo committed Dec 9, 2018
1 parent 232adcd commit adc0fc1
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,19 @@ $ pipenv install questionary
Satisfaction guaranteed. Let's create a first question:

```python

import questionary

questionary.select("What do you want to do?",
choices=[
'Order a pizza',
'Make a reservation',
'Ask for opening hours'
]).ask() # returns value of selected item
```

This will create the following list, allowing the user to choose an option:

![select](docs/images/select.png)

## Documentation

Expand Down
Binary file added docs/images/select.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit adc0fc1

Please sign in to comment.