calendar: use todoman --yes flag for delete instead of piping stdin

This commit is contained in:
Yanxin Lu
2026-03-22 15:58:24 -07:00
parent 912bcf53bd
commit 4ef7b1e05b

View File

@@ -659,7 +659,7 @@ def cmd_todo_delete(args):
print("Error: --uid or --match is required", file=sys.stderr)
sys.exit(1)
_run_todoman("delete", str(todo_id))
_run_todoman("delete", "--yes", str(todo_id))
print(f"Deleted todo #{todo_id}")
_sync_calendar()