From 5ca4a54ffb819caf650028bda8e2f4d89c9d91c4 Mon Sep 17 00:00:00 2001 From: jpt Date: Sat, 3 May 2025 18:50:01 -0500 Subject: [PATCH] allow selecting view --- src/tt/cli.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/tt/cli.py b/src/tt/cli.py index 1874dff..0c30117 100644 --- a/src/tt/cli.py +++ b/src/tt/cli.py @@ -45,10 +45,10 @@ def new( @app.command() 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() - things_tui("tasks") + things_tui(view) @app.command()