gws-sheets-read
作者: Google
從試算表中讀取值。
npx skills add https://github.com/googleworkspace/cli --skill gws-sheets-readsheets +read
PREREQUISITE: Read
../gws-shared/SKILL.mdfor auth, global flags, and security rules. If missing, rungws generate-skillsto 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') |
Examples
gws sheets +read --spreadsheet ID --range "Sheet1!A1:D10"
gws sheets +read --spreadsheet ID --range Sheet1
Tips
- Read-only — never modifies the spreadsheet.
- For advanced options, use the raw values.get API.
See Also
- gws-shared — Global flags and auth
- gws-sheets — All read and write spreadsheets commands
來自 Google 的更多技能
gws-modelarmor-sanitize-response
Google
Google Model Armor:透過 Model Armor 模板淨化模型回應。
gws-people
Google
管理聯絡人與個人資料。
gws-shared
Google
gws CLI:用於認證、全域旗標與輸出格式化的共享模式。
gws-sheets
Google
Google Sheets:讀取和寫入試算表。
gws-sheets-append
Google
Google Sheets:將一行資料附加到試算表中。
gws-slides
Google
Google Slides:讀取與撰寫簡報。
gws-tasks
Google
Google Tasks:管理任務清單與任務。
gws-workflow
Google
Google Workflow:跨服務生產力工作流程。