Skip to content

Commit e588ed7

Browse files
niwwhoozle
authored andcommitted
Use InquirerPy instead.
**Problem** PyInquirer has no longer maintained and not working with recent python. **Solution** Use InquirerPy instead.
1 parent d5c1882 commit e588ed7

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

python/example/menu.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
hierarchical prompt usage example
66
"""
77
from __future__ import print_function, unicode_literals
8-
from PyInquirer import style_from_dict, Token, prompt, Separator
8+
from InquirerPy import prompt, separator
99

1010
import aftl
1111

@@ -52,7 +52,7 @@ def get_object_action(session):
5252
'message': 'Object Action (press h for help)',
5353
'choices': [
5454
{ 'key': 'b', 'name': 'Back', 'value': 'back' },
55-
Separator(),
55+
separator.Separator(),
5656
{ 'key': 'd', 'name': 'Download', 'value': 'download' },
5757
]
5858
}

python/example/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
pyinquirer
1+
InquirerPy ~= 0.3.4

0 commit comments

Comments
 (0)