avid.common.console_abstraction.ConsolePrompt

class avid.common.console_abstraction.ConsolePrompt

Bases: object

Abstraction for user prompts that works with or without rich

__init__()

Methods

__init__()

ask(question[, default, password, choices, ...])

Ask for user input with validation

static ask(question: str, default: str | None = None, password: bool = False, choices: list | None = None, console: Console | None = None) str

Ask for user input with validation