feat(calendar): full API parity — 20 new commands (#92)#103
Merged
Conversation
Add 20 new calendar commands covering the full Google Calendar API: Events (4): get, quick-add, instances, move Calendar CRUD (5): get-calendar, create-calendar, update-calendar, delete-calendar, clear Subscriptions (4): subscribe, unsubscribe, calendar-info, update-subscription ACL (4): acl, share, unshare, update-acl Other (3): freebusy, colors, settings Includes comprehensive tests (flag validation, mock server integration) and updated skill documentation (SKILL.md, commands.md). Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…color-id 1. update-subscription --hidden false was a no-op because the Google API omits zero-value bools from JSON. Now uses ForceSendFields to ensure hidden=false is explicitly sent. 2. Renamed --color to --color-id since the API expects a numeric color ID string (e.g. "7"), not a hex value. Updated help text and skill docs. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
db708c1 to
ee5a9c5
Compare
5 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
get,quick-add,instances,moveget-calendar,create-calendar,update-calendar,delete-calendar,clearsubscribe,unsubscribe,calendar-info,update-subscriptionacl,share,unshare,update-aclfreebusy,colors,settingsDetails
All commands follow existing patterns:
init()client.NewFactory(ctx)→factory.Calendar()for service accessprinter.JSON(cmd, data)for structured outputmapEventToOutput()andparseTime()helpersTest plan
TestCalendarCommandsupdated with all 26 commands (6 existing + 20 new)TestSkillCommands_MatchCLIpasses with updated skill docsgo test ./...passesgo vet ./...passesgofmtapplied🤖 Generated with Claude Code