Bump dependency PyInquirer -> InquirerPy (former no longer supported)

This commit is contained in:
Joeri Exelmans 2024-08-22 10:57:00 +02:00
parent 811e7b1eb1
commit 77a5a8c9f5
2 changed files with 4 additions and 11 deletions

View file

@ -1,6 +1,6 @@
from framework.manager import Manager from framework.manager import Manager
from state.devstate import DevState from state.devstate import DevState
from PyInquirer import prompt, Separator from InquirerPy import prompt, separator
from pprint import pprint from pprint import pprint
import prompt_questions as questions import prompt_questions as questions
from inspect import signature from inspect import signature
@ -16,7 +16,7 @@ def generate_context_question(ctx_type, services):
s.__name__.replace('_', ' ') for s in services s.__name__.replace('_', ' ') for s in services
] ]
choices = sorted(choices) choices = sorted(choices)
choices.append(Separator()) choices.append(separator.Separator())
choices.append("close context") choices.append("close context")
ctx_question = [ ctx_question = [
{ {
@ -94,12 +94,5 @@ def main():
if __name__ == '__main__': if __name__ == '__main__':
print("""Welcome to... print("""Welcome to...\r\n __ ____ _____ \r\n | \\/ \\ \\ / /__ \\ \r\n | \\ / |\\ \\ / / ) |\r\n | |\\/| | \\ \\/ / / / \r\n | | | | \\ / / /_ \r\n |_| |_| \\/ |____| """)
__ ____ _____
| \/ \ \ / /__ \
| \ / |\ \ / / ) |
| |\/| | \ \/ / / /
| | | | \ / / /_
|_| |_| \/ |____|
""")
main() main()

View file

@ -1,4 +1,4 @@
from PyInquirer import Separator from InquirerPy.separator import Separator
MODEL_SELECTED = [ MODEL_SELECTED = [
{ {