maton asana task create
maton asana task create [flags]
Create a task. Either –projects or –workspace is required; use –parent to create a subtask of an existing task. Workspace-scoped creation also requires –assignee (Asana API constraint).
Options
-
--assignee <string> - Assignee gid (use 'me' for yourself)
-
--connection <string> - Connection ID to route through (Maton-Connection header)
-
--dry-run - Print the request that would be sent without executing it
-
--due-on <string> - Due date (YYYY-MM-DD)
-
--format <string> - Output format: 'json' (default) or 'text' on supported commands
-q,--jq <expression>- Filter JSON output using a jq expression
-
--name <string> - Task name (required)
-
--notes <string> - Task description
-
--parent <string> - Parent task gid (creates a subtask)
-
--projects <string> - Comma-separated project gids
-
--template <string> - Format JSON output using a Go template; see "maton help formatting"
-w,--workspace <string>- Workspace gid (one of --projects/--workspace/--parent; needs --assignee if alone)
Options inherited from parent commands
-p,--profile <string>- Profile to use for this invocation (overrides the active profile; also reads MATON_PROFILE)
Examples
$ maton asana task create --name 'Write spec' --projects 67890
$ maton asana task create --name 'Triage' --assignee me -w 12345
$ maton asana task create --name 'Subtask' --parent 11111