feat(comments): add resolve command and docs comments aliases#1
Merged
chadrwalters merged 1 commit intomainfrom Feb 4, 2026
Merged
feat(comments): add resolve command and docs comments aliases#1chadrwalters merged 1 commit intomainfrom
chadrwalters merged 1 commit intomainfrom
Conversation
Add `drive comments resolve` command to mark comments as resolved using the Drive API's PATCH endpoint with resolved=true. This enables automated comment workflow management. Add `docs comments` subcommand group that aliases to drive comments, providing a more intuitive command path for Google Docs users: - docs comments list - docs comments read (alias to get) - docs comments create - docs comments reply - docs comments resolve - docs comments delete The docs comments implementation uses struct embedding to reuse the drive comments handlers, ensuring consistent behavior and zero code duplication. Closes: ENG-4253 Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
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
drive comments resolvecommand to mark comments as resolveddocs commentssubcommand group that aliases to drive commentsChanges
New Command:
drive comments resolveMark a comment as resolved using PATCH with
resolved: true:New Subcommand Group:
docs commentsProvides a more intuitive command path for Google Docs users:
gog docs comments list <docId>gog docs comments read <docId> <commentId>gog docs comments create <docId> "text" [--quoted "text"]gog docs comments reply <docId> <commentId> "text"gog docs comments resolve <docId> <commentId>gog docs comments delete <docId> <commentId>Implementation
The
docs commentsimplementation uses struct embedding to reuse the drive comments handlers, ensuring:drive commentsanddocs commentsTest plan
drive comments resolve(JSON + plain text output)docs comments resolve(verifies embedding works)docs comments read(verifies alias toget)Related
🤖 Generated with Claude Code