Skip to content

feat(sheets): add copy-to, batch-read, batch-write (#97)#105

Merged
omriariav merged 2 commits intomainfrom
feat/sheets-batch
Feb 19, 2026
Merged

feat(sheets): add copy-to, batch-read, batch-write (#97)#105
omriariav merged 2 commits intomainfrom
feat/sheets-batch

Conversation

@omriariav
Copy link
Owner

Summary

  • copy-to: Copy a sheet tab from one spreadsheet to another via spreadsheets.sheets.copyTo API
  • batch-read: Read multiple ranges in a single API call via spreadsheets.values.batchGet with --value-render option
  • batch-write: Write to multiple ranges in a single API call via spreadsheets.values.batchUpdate with --value-input option

Closes #97

Test plan

  • All existing sheets tests pass (go test ./cmd/... -run TestSheets)
  • New flag tests for copy-to, batch-read, batch-write
  • Mock server tests for all three new APIs
  • TestSheetsCommands in commands_test.go updated with new commands
  • TestSkillCommands_MatchCLI passes with updated skills_test.go
  • Skill docs (SKILL.md, references/commands.md) updated
  • go vet ./... clean
  • gofmt clean

🤖 Generated with Claude Code

omriariav and others added 2 commits February 19, 2026 09:49
Add three new commands for sheets API parity:
- copy-to: copy a sheet tab to another spreadsheet via sheets.copyTo API
- batch-read: read multiple ranges in a single API call via values.batchGet
- batch-write: write to multiple ranges in a single API call via values.batchUpdate

Includes tests, skill docs, and commands_test registration.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Output field "ranges_updated" was misleading (reported sheet count)
- Renamed batch-write flag from --range to --ranges for consistency
  with batch-read
- Updated skill docs accordingly

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@omriariav omriariav merged commit 8796cdb into main Feb 19, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat(sheets): full Sheets API parity — already at parity, add copy-to and batch read/write

1 participant

Comments