Added shelter and things needed for it (incomplete)

This commit is contained in:
2026-03-29 10:14:12 -04:00
parent cf8d0be319
commit 18a0fd249c
5 changed files with 50 additions and 7 deletions

View File

@@ -1,4 +1,5 @@
import os
import questionary
def clear():
@@ -8,3 +9,23 @@ def clear():
def title():
clear()
print("=== Whiskerbound ===\n")
STYLE = questionary.Style(
[
("selected", "fg:cyan bold"),
("pointer", "fg:cyan bold"),
]
)
def select(message, choices):
return questionary.select(message, choices=choices, style=STYLE).ask()
def text(message, default=""):
return questionary.text(message, default=default, style=STYLE).ask()
def confirm(message, default=True):
return questionary.confirm(message, default=default, style=STYLE).ask()