文档办公

gws-sheets-read

googleworkspace/cli

Google Sheets: Read values from a spreadsheet.

  • 5.1万 次安装
  • 3.2万 星标
  • 收录于

安装命令

npx skills add https://github.com/googleworkspace/cli --skill gws-sheets-read

要点

Read cell values from a Google Sheet by spreadsheet ID and range.

  • Requires spreadsheet ID and range specification (e.g., Sheet1!A1:D10 or entire sheet name)
  • Read-only operation; never modifies the spreadsheet
  • Supports both specific ranges and full sheet reads
  • Depends on gws-shared for authentication and global configuration

SKILL.md

sheets +read

PREREQUISITE: Read ../gws-shared/SKILL.md for auth, global flags, and security rules. If missing, run gws generate-skills to create it.

Read values from a spreadsheet

Usage

gws sheets +read --spreadsheet <ID> --range <RANGE>

Flags

Flag Required Default Description
--spreadsheet ✓ — Spreadsheet ID
--range ✓ — Range to read (e.g. 'Sheet1!A1:B2')