feat(contacts): add .vcf export command#519
Open
dinakars777 wants to merge 3 commits intosteipete:mainfrom
Open
feat(contacts): add .vcf export command#519dinakars777 wants to merge 3 commits intosteipete:mainfrom
dinakars777 wants to merge 3 commits intosteipete:mainfrom
Conversation
added 3 commits
April 20, 2026 22:52
… headers When updating a draft with --quote but without --reply-to-message-id, the existing draft's message ID was fetched but never used to set the In-Reply-To and References headers. This caused delivery failures on strict mail servers. Fixes steipete#512
…gging - Add TabId to InsertTextRequest in replaceDocsMarkdownRange - Add TabsCriteria to cleanupDocsImagePlaceholders - Pass TabId through runMarkdown -> replaceDocsMarkdownRange - Add warning when using --format markdown with --tab-id (DeleteContentRange does not support tab targeting at API level) - Improve error messages to include match index on failure Fixes steipete#494
Add 'gog contacts export' command that exports contacts to RFC 6350-compliant vCard (.vcf) format. Supports: - Full name (FN) and structured name (N) - Multiple email addresses with type (HOME, WORK, etc.) - Multiple phone numbers with type - Postal addresses - Organization and title - URLs - Biography (NOTE) - Birthday (BDAY) New files: - contacts_vcf.go: vCard export logic - contacts_vcf_test.go: unit tests Command options: - --max: max results (default 100) - --page: page token for pagination - --out: output file (default stdout) - --match: filter contacts by name/email/phone query Fixes steipete#500
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.
Fixes #500
Feature
Add
gog contacts exportcommand that exports contacts to RFC 6350-compliant vCard (.vcf) format.Supported Fields
Command Options
--max: max results (default 100)--page: page token for pagination--out: output file (default stdout)--match: filter contacts by name/email/phone queryExample Usage
Files Added
internal/cmd/contacts_vcf.go: vCard export logicinternal/cmd/contacts_vcf_test.go: unit testsTesting