maton google-tasks task create
Create a new task in a list
maton google-tasks task create [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> - Due date (YYYY-MM-DD or RFC 3339)
-
--format <string> - Output format: 'json' (default) or 'text' on supported commands
-q,--jq <expression>- Filter JSON output using a jq expression
-l,--list <string>- Task list ID (required)
-
--notes <string> - Task description (max 8192 chars)
-
--paginate - Follow next_cursor and concatenate all pages (list commands only)
-
--parent <string> - Parent task ID to create as subtask
-
--previous <string> - Place after this sibling task ID
-
--template <string> - Format JSON output using a Go template; see "maton help formatting"
-
--title <string> - Task title (required, max 1024 chars)
Options inherited from parent commands
-p,--profile <string>- Profile to use for this invocation (overrides the active profile; also reads MATON_PROFILE)
ALIASES
maton google-tasks tasks insert, maton google-tasks task insert
Examples
$ maton google-tasks task create -l MTYxNzM4 --title 'Write spec'
$ maton google-tasks task create -l MTYxNzM4 --title 'Subtask' --parent OTQyNzc
$ maton google-tasks task create -l MTYxNzM4 --title 'Review' --due 2026-12-01