allow selecting view
This commit is contained in:
parent
6ed62ac3c2
commit
5ca4a54ffb
@ -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()
|
||||||
|
Loading…
Reference in New Issue
Block a user