maton google-sheets spreadsheet view
Retrieve a spreadsheet by ID
maton google-sheets spreadsheet view <spreadsheet-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
-
--format <string> - Output format: 'json' (default) or 'text' on supported commands
-
--include-grid-data - Include cell-level grid data in the response
-q,--jq <expression>- Filter JSON output using a jq expression
-
--paginate - Follow next_cursor and concatenate all pages (list commands only)
-r,--range <strings>- Restrict the response to one or more A1 ranges (repeatable)
-
--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 google-sheets spreadsheet view ABC
$ maton google-sheets spreadsheet view ABC --range 'Sheet1!A1:B2' --include-grid-data
$ maton google-sheets spreadsheet view ABC --format text