Skip to content

Commit

Permalink
Update ruff
Browse files Browse the repository at this point in the history
  • Loading branch information
Millu authored and ebr committed Feb 11, 2024
1 parent 0be9a2d commit 64b0fec
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions installer/lib/messages.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,15 @@ def choose_version(available_releases: tuple | None = None) -> str:
if available_releases is None:
return "stable"

console.print(":grey_question: [orange3]Please choose an Invoke version to install.")

choices = available_releases[0] + available_releases[1]

response = prompt(
message=f" <Enter> to install the recommended release ({choices[0]}). <Tab> or type to pick a version: ",
complete_while_typing=True,
completer=FuzzyWordCompleter(choices),
)
console.print(f" Version {choices[0] if response == '' else response} will be installed.")

console.line()
Expand Down

0 comments on commit 64b0fec

Please sign in to comment.