File tree Expand file tree Collapse file tree
packages/cli/src/taskflow/commands Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -91,5 +91,5 @@ def init(
9191 console .print (f" Default user: [cyan]{ user_id } [/cyan]" )
9292 console .print ()
9393 console .print ("[dim]Quick start:[/dim]" )
94- console .print (" taskflow add \ " My first task\" " )
94+ console .print (' taskflow add "My first task"' )
9595 console .print (" taskflow list" )
Original file line number Diff line number Diff line change @@ -112,9 +112,7 @@ def add_task(
112112 if created_by is None :
113113 creator = get_current_user (storage )
114114 if creator is None :
115- console .print (
116- "[red]Error: No current user set. Run 'taskflow worker add' first.[/red]"
117- )
115+ console .print ("[red]Error: No current user set. Run 'taskflow worker add' first.[/red]" )
118116 raise typer .Exit (1 )
119117 else :
120118 creator = created_by
@@ -257,9 +255,7 @@ def add_subtask(
257255 if created_by is None :
258256 creator = get_current_user (storage )
259257 if creator is None :
260- console .print (
261- "[red]Error: No current user set. Run 'taskflow worker add' first.[/red]"
262- )
258+ console .print ("[red]Error: No current user set. Run 'taskflow worker add' first.[/red]" )
263259 raise typer .Exit (1 )
264260 else :
265261 creator = created_by
You can’t perform that action at this time.
0 commit comments