fix(gmail): avoid double quoted-printable decode + drive/docs improvements#162
Open
salmonumbrella wants to merge 21 commits intosteipete:mainfrom
Open
fix(gmail): avoid double quoted-printable decode + drive/docs improvements#162salmonumbrella wants to merge 21 commits intosteipete:mainfrom
salmonumbrella wants to merge 21 commits intosteipete:mainfrom
Conversation
- Fix variable shadowing in DocsUpdateCmd (govet: shadow) - Extract formatAuto constant to satisfy goconst linter Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Cover the readTextInput function and file path expansion logic by testing DocsWriteCmd and DocsUpdateCmd with temp files. Also test error cases: non-existent file, empty file, and mutual exclusion of --text and --file flags. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Test that --index flag properly rejects zero and negative values with the expected error message. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Distinguish the update command from write by specifying it inserts text at a specific index position in the document. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Add integration tests verifying isDayExpr() integration: - TestResolveTimeRangeWithDefaultsToTomorrowEndOfDay: verifies --to tomorrow expands to end-of-day (23:59:59.999999999) - TestResolveTimeRangeWithDefaultsToNowNoExpansion: verifies --to now does NOT expand to end-of-day (remains current time) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Add boolTrue/boolFalse constants for string "true"/"false" values - Rename shadowed err variable to writeErr in test file Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Rename err to convertErr to avoid shadowing the err variable declared earlier in the function. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
|
I've tested this PR extensively and can confirm all features work well:
These features enable some great automation workflows - would love to see this merged! (I've set up a fork with this PR merged at degree-analytics/gogcli as a temporary solution while this PR is pending) |
4 tasks
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.
Summary
=characters--convertflag to upload command for converting Office files to Google Workspace formats; include shared drives inlsandsearchcommands; validate download formats--toflag to properly expand date-only expressions (e.g.,--to mondaynow includes end of day)writeandupdatecommands for creating and modifying Google Docs contentCloses #159
Test plan
go test ./...)🤖 Generated with Claude Code