maton asana workspace list
maton asana workspace list [flags]
List every workspace the connected user belongs to. The returned ‘gid’ values are needed by other commands such as ‘project list –workspace’.
Options
-
--connection <string> - Connection ID to route through (Maton-Connection header)
-
--dry-run - Print the request that would be sent without executing it
-q,--jq <expression>- Filter JSON output using a jq expression
-
--json - Output raw JSON
-L,--limit <int> (default 0)- Max results per page
-
--offset <string> - Pagination offset token
-
--opt-fields <string> - Comma-separated fields to return
-
--paginate - Follow next_cursor and concatenate all pages (list commands only)
-t,--template <string>- Format JSON output using a Go template; see "maton help formatting"
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 workspace list
$ maton asana workspace list --json
$ maton asana workspace list --paginate