Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/sync-skills.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@googleworkspace/cli": patch
---

Sync generated skills with latest Google Discovery API specs
4 changes: 2 additions & 2 deletions skills/gws-sheets-append/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ gws sheets +append --spreadsheet <ID>
| `--spreadsheet` | ✓ | — | Spreadsheet ID |
| `--values` | — | — | Comma-separated values (simple strings) |
| `--json-values` | — | — | JSON array of rows, e.g. '[["a","b"],["c","d"]]' |
| `--range` | — | `A1` | Target range in A1 notation (e.g. 'Sheet2!A1') to select a specific tab |
| `--range` | — | | Target range in A1 notation (e.g. 'Sheet2!A1'). Defaults to 'A1' (first sheet) |
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

high

The example range 'Sheet2!A1' uses single quotes, which can cause issues in shells like zsh due to history expansion of the ! character. The project's shared reference (gws-shared/SKILL.md) explicitly warns against this and recommends using double quotes for sheet ranges to avoid command mangling. Please update the example to use double quotes. Note that since this file is generated, the source help string in the command definition (likely in sheets.rs) should also be updated to ensure consistency in future generations.

Suggested change
| `--range` ||| Target range in A1 notation (e.g. 'Sheet2!A1'). Defaults to 'A1' (first sheet) |
| --range ||| Target range in A1 notation (e.g. "Sheet2!A1"). Defaults to "A1" (first sheet) |


## Examples

Expand All @@ -44,7 +44,7 @@ gws sheets +append --spreadsheet ID --range "Sheet2!A1" --values 'Alice,100'

- Use --values for simple single-row appends.
- Use --json-values for bulk multi-row inserts.
- Use --range to append to a specific sheet tab (default: A1, i.e. first sheet).
- Use --range to target a specific sheet tab (default: A1, i.e. first sheet).

> [!CAUTION]
> This is a **write** command — confirm with the user before executing.
Expand Down
Loading