maton google-tasks task update
Update a task (PATCH partial update; –replace for PUT full replace)
maton google-tasks task update <task-id> [flags]
Options
-
--connection <string> - Connection ID to route through (Maton-Connection header)
-
--dry-run - Print the request that would be sent without executing it
-
--due <string> - New due date (YYYY-MM-DD or RFC 3339)
-q,--jq <expression>- Filter JSON output using a jq expression
-
--json - Output raw JSON
-l,--list <string>- Task list ID (required)
-
--notes <string> - New notes/description
-
--paginate - Follow next_cursor and concatenate all pages (list commands only)
-
--replace - Use PUT (full replace; unspecified fields are cleared) instead of PATCH (partial update)
-
--status <string> - Status: needsAction or completed
-t,--template <string>- Format JSON output using a Go template; see "maton help formatting"
-
--title <string> - New title
Options inherited from parent commands
-p,--profile <string>- Profile to use for this invocation (overrides the active profile; also reads MATON_PROFILE)
Examples
$ maton google-tasks task update OTQyNzc -l MTYxNzM4 --title 'New title'
$ maton google-tasks task update OTQyNzc -l MTYxNzM4 --status completed
$ maton google-tasks task update OTQyNzc -l MTYxNzM4 --due 2026-12-15
$ maton google-tasks task update OTQyNzc -l MTYxNzM4 --title 'Replaced' --notes 'New notes' --status needsAction --replace