maton asana task create
maton asana task create [flags]
Create a task. One of –projects, –workspace, or –parent is required; use –parent to create a subtask of an existing task.
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)
-q,--jq <expression>- Filter JSON output using a jq expression
-
--json - Output raw JSON
-
--name <string> - Task name (required)
-
--notes <string> - Task description
-
--parent <string> - Parent task gid (creates a subtask)
-
--projects <string> - Comma-separated project gids
-t,--template <string>- Format JSON output using a Go template; see "maton help formatting"
-w,--workspace <string>- Workspace gid (one of --projects/--workspace/--parent)
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' -w 12345
$ maton asana task create --name 'Subtask' --parent 11111