feat(sheets): add format command#72
Merged
steipete merged 1 commit intoopenclaw:mainfrom Jan 16, 2026
Merged
Conversation
Collaborator
|
They ver much are nilz, thank you! |
Collaborator
|
Appreciate the prompt! |
steipete
added a commit
that referenced
this pull request
Jan 16, 2026
steipete
added a commit
that referenced
this pull request
Jan 16, 2026
Collaborator
|
Landed via temp rebase onto main.\n\n- Gate: pnpm lint && pnpm build && pnpm test (failed: no package.json)\n- Tests: make test\n- Land commit: 47c49fb\n- Merge commit: 4105be8\n\nThanks @nilzzzzzz! |
Contributor
Author
Thank you for the quick review! |
klodr
pushed a commit
to klodr/gogcli
that referenced
this pull request
Apr 22, 2026
…ommand feat(sheets): add format command
klodr
pushed a commit
to klodr/gogcli
that referenced
this pull request
Apr 22, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Hi @steipete,
love the cli and i am a heavy user. One thing i was missing to format stuff so the sheets look customer ready :D
I hope contributions are welcome, tested the cases with AI and manually. If you need something let me know.
Add
gog sheets formatto apply cell formatting via Sheets BatchUpdate (RepeatCell + CellFormat). Includes validation, tests, docs, and changelog updates.Use Case
Scriptable formatting for automation pipelines (bold headers, number/currency formats, colors, alignment) without UI.
Prompt History (verbatim-ish)
--format-json+--format-fieldsCommands Enabled
gog sheets format <spreadsheetId> <range> --format-json '{...}' --format-fields 'userEnteredFormat.*'How has this been tested?
go test ./internal/cmd -run SheetsFormatgog sheets formaton sample sheet (bold header, background color, number/currency formats)