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