init
This commit is contained in:
commit
f3e79af444
22 changed files with 1798 additions and 0 deletions
18
marvin_sw_text_adventure/cli/tui.py
Normal file
18
marvin_sw_text_adventure/cli/tui.py
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
import typer
|
||||
|
||||
from marvin_sw_text_adventure.cli.common import verbose_callback
|
||||
from marvin_sw_text_adventure.tui.app import run_app
|
||||
|
||||
tui_app = typer.Typer()
|
||||
|
||||
|
||||
@tui_app.callback(invoke_without_command=True)
|
||||
def i(
|
||||
verbose: bool = typer.Option(
|
||||
False,
|
||||
callback=verbose_callback,
|
||||
help="show the log messages",
|
||||
),
|
||||
):
|
||||
"interactive tui"
|
||||
run_app()
|
||||
Loading…
Add table
Add a link
Reference in a new issue