calendar: use todoman --yes flag for delete instead of piping stdin
This commit is contained in:
@@ -659,7 +659,7 @@ def cmd_todo_delete(args):
|
|||||||
print("Error: --uid or --match is required", file=sys.stderr)
|
print("Error: --uid or --match is required", file=sys.stderr)
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
|
|
||||||
_run_todoman("delete", str(todo_id))
|
_run_todoman("delete", "--yes", str(todo_id))
|
||||||
print(f"Deleted todo #{todo_id}")
|
print(f"Deleted todo #{todo_id}")
|
||||||
_sync_calendar()
|
_sync_calendar()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user