allow selecting view

This commit is contained in:
jpt 2025-05-03 18:50:01 -05:00
parent 6ed62ac3c2
commit 5ca4a54ffb

View File

@ -45,10 +45,10 @@ def new(
@app.command() @app.command()
def table( def table(
view: Annotated[str, typer.Option("-v", "--view", help="saved view")] = "default", view: Annotated[str, typer.Option("-v", "--view", help="saved view")] = "tasks",
): ):
initialize_db() initialize_db()
things_tui("tasks") things_tui(view)
@app.command() @app.command()