diff --git a/examples/checkbox.py b/examples/checkbox.py index 8e76128..ff462ed 100644 --- a/examples/checkbox.py +++ b/examples/checkbox.py @@ -65,5 +65,5 @@ } ] -answers = prompt.prompt(questions, style=custom_style_2) +answers = prompt(questions, style=custom_style_2) pprint(answers) diff --git a/examples/confirm.py b/examples/confirm.py index 5fb08c8..c676fdf 100644 --- a/examples/confirm.py +++ b/examples/confirm.py @@ -25,6 +25,6 @@ }, ] -answers = prompt.prompt(questions, style=custom_style_1) +answers = prompt(questions, style=custom_style_1) pprint(answers) diff --git a/examples/editor.py b/examples/editor.py index 3512a08..9b36bcd 100644 --- a/examples/editor.py +++ b/examples/editor.py @@ -22,5 +22,5 @@ } ] -answers = prompt.prompt(questions, style=custom_style_2) +answers = prompt(questions, style=custom_style_2) pprint(answers) diff --git a/examples/expand.py b/examples/expand.py index 4ae7158..a646055 100644 --- a/examples/expand.py +++ b/examples/expand.py @@ -41,5 +41,5 @@ } ] -answers = prompt.prompt(questions, style=custom_style_2) +answers = prompt(questions, style=custom_style_2) print_json(answers) diff --git a/examples/input.py b/examples/input.py index 9fa0feb..3c06c6d 100644 --- a/examples/input.py +++ b/examples/input.py @@ -44,5 +44,5 @@ def validate(self, document): } ] -answers = prompt.prompt(questions, style=custom_style_2) +answers = prompt(questions, style=custom_style_2) pprint(answers) diff --git a/examples/list.py b/examples/list.py index 696c4c1..08e63e4 100644 --- a/examples/list.py +++ b/examples/list.py @@ -51,5 +51,5 @@ def get_delivery_options(answers): }, ] -answers = prompt.prompt(questions, style=custom_style_2) +answers = prompt(questions, style=custom_style_2) pprint(answers) diff --git a/examples/password.py b/examples/password.py index b7319e6..7042ddc 100644 --- a/examples/password.py +++ b/examples/password.py @@ -17,5 +17,5 @@ } ] -answers = prompt.prompt(questions, style=custom_style_2) +answers = prompt(questions, style=custom_style_2) print_json(answers) diff --git a/examples/pizza.py b/examples/pizza.py index 1d6a4ec..f1a487e 100644 --- a/examples/pizza.py +++ b/examples/pizza.py @@ -106,6 +106,6 @@ def validate(self, document): } ] -answers = prompt.prompt(questions, style=custom_style_3) +answers = prompt(questions, style=custom_style_3) print('Order receipt:') pprint(answers) diff --git a/examples/rawlist.py b/examples/rawlist.py index 5509251..bba91a3 100644 --- a/examples/rawlist.py +++ b/examples/rawlist.py @@ -32,5 +32,5 @@ } ] -answers = prompt.prompt(questions, style=custom_style_2) +answers = prompt(questions, style=custom_style_2) print_json(answers) diff --git a/examples/when.py b/examples/when.py index 4c850a3..a06c18d 100644 --- a/examples/when.py +++ b/examples/when.py @@ -41,6 +41,6 @@ def dislikes_bacon(answers): } ] -answers = prompt.prompt(questions, style=custom_style_2) +answers = prompt(questions, style=custom_style_2) print_json(answers)