From 16cf18e2f42217a31c5d82fc820b27e3f112ef8d Mon Sep 17 00:00:00 2001 From: googleworkspace-bot Date: Thu, 12 Mar 2026 16:10:18 +0000 Subject: [PATCH 1/2] chore: release versions --- .changeset/add-html-mode.md | 5 ----- .changeset/document-helper-commands.md | 9 --------- CHANGELOG.md | 14 ++++++++++++++ Cargo.lock | 2 +- Cargo.toml | 2 +- package.json | 2 +- 6 files changed, 17 insertions(+), 17 deletions(-) delete mode 100644 .changeset/add-html-mode.md delete mode 100644 .changeset/document-helper-commands.md diff --git a/.changeset/add-html-mode.md b/.changeset/add-html-mode.md deleted file mode 100644 index d8c7c75c..00000000 --- a/.changeset/add-html-mode.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@googleworkspace/cli": minor ---- - -Add `--html` flag to `+send`, `+reply`, `+reply-all`, and `+forward` for HTML email composition. diff --git a/.changeset/document-helper-commands.md b/.changeset/document-helper-commands.md deleted file mode 100644 index 8c308649..00000000 --- a/.changeset/document-helper-commands.md +++ /dev/null @@ -1,9 +0,0 @@ ---- -"@googleworkspace/cli": patch ---- - -Document helper commands (`+` prefix) in README - -Adds a "Helper Commands" section to the Advanced Usage chapter explaining -the `+` prefix convention, listing all 24 helper commands across 10 services -with descriptions and usage examples. diff --git a/CHANGELOG.md b/CHANGELOG.md index 772d18a6..7b8df946 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,19 @@ # @googleworkspace/cli +## 0.13.0 + +### Minor Changes + +- 9d937af: Add `--html` flag to `+send`, `+reply`, `+reply-all`, and `+forward` for HTML email composition. + +### Patch Changes + +- 2df32ee: Document helper commands (`+` prefix) in README + + Adds a "Helper Commands" section to the Advanced Usage chapter explaining + the `+` prefix convention, listing all 24 helper commands across 10 services + with descriptions and usage examples. + ## 0.12.0 ### Minor Changes diff --git a/Cargo.lock b/Cargo.lock index 2b469384..1f8da97b 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -861,7 +861,7 @@ dependencies = [ [[package]] name = "gws" -version = "0.12.0" +version = "0.13.0" dependencies = [ "aes-gcm", "anyhow", diff --git a/Cargo.toml b/Cargo.toml index 1e60d1f2..11e54c36 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -14,7 +14,7 @@ [package] name = "gws" -version = "0.12.0" +version = "0.13.0" edition = "2021" description = "Google Workspace CLI — dynamic command surface from Discovery Service" license = "Apache-2.0" diff --git a/package.json b/package.json index 8ba4a13f..a6eb76fa 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@googleworkspace/cli", - "version": "0.12.0", + "version": "0.13.0", "private": true, "description": "Google Workspace CLI — dynamic command surface from Discovery Service", "license": "Apache-2.0", From 9f0cf9be6cbe18625e24256cc3252aebb490fc35 Mon Sep 17 00:00:00 2001 From: googleworkspace-bot Date: Thu, 12 Mar 2026 16:11:10 +0000 Subject: [PATCH 2/2] chore: regenerate skills [skip ci] --- skills/gws-gmail-forward/SKILL.md | 22 +++++++++---------- skills/gws-gmail-reply-all/SKILL.md | 34 ++++++++++++++--------------- skills/gws-gmail-reply/SKILL.md | 26 ++++++++++------------ skills/gws-gmail-send/SKILL.md | 19 ++++++++-------- 4 files changed, 47 insertions(+), 54 deletions(-) diff --git a/skills/gws-gmail-forward/SKILL.md b/skills/gws-gmail-forward/SKILL.md index 761b648c..a370994c 100644 --- a/skills/gws-gmail-forward/SKILL.md +++ b/skills/gws-gmail-forward/SKILL.md @@ -24,16 +24,16 @@ gws gmail +forward --message-id --to ## Flags -| Flag | Required | Default | Description | -| -------------- | -------- | ------- | ----------------------------------------------------------------------------- | -| `--message-id` | ✓ | — | Gmail message ID to forward | -| `--to` | ✓ | — | Recipient email address(es), comma-separated | -| `--from` | — | — | Sender address (for send-as/alias; omit to use account default) | -| `--cc` | — | — | CC email address(es), comma-separated | -| `--bcc` | — | — | BCC email address(es), comma-separated | -| `--body` | — | — | Optional note above the forwarded message (plain text, or HTML with `--html`) | -| `--html` | — | — | Treat `--body` as HTML content (default is plain text) | -| `--dry-run` | — | — | Show the request that would be sent without executing it | +| Flag | Required | Default | Description | +|------|----------|---------|-------------| +| `--message-id` | ✓ | — | Gmail message ID to forward | +| `--to` | ✓ | — | Recipient email address(es), comma-separated | +| `--from` | — | — | Sender address (for send-as/alias; omit to use account default) | +| `--cc` | — | — | CC email address(es), comma-separated | +| `--bcc` | — | — | BCC email address(es), comma-separated | +| `--body` | — | — | Optional note to include above the forwarded message (plain text, or HTML with --html) | +| `--html` | — | — | Send as HTML (formats forwarded block with Gmail styling; treat --body as HTML) | +| `--dry-run` | — | — | Show the request that would be sent without executing it | ## Examples @@ -48,8 +48,6 @@ gws gmail +forward --message-id 18f1a2b3c4d --to dave@example.com --body '

FYI ## Tips - Includes the original message with sender, date, subject, and recipients. -- With `--html`, the forwarded block uses Gmail's `gmail_quote` CSS classes and preserves the original message's HTML formatting. Use HTML fragment tags (`

`, ``, ``, etc.) — no ``/`` wrapper needed. -- With `--html`, inline images embedded in the forwarded message (`cid:` references) will appear broken. Externally hosted images are unaffected. ## See Also diff --git a/skills/gws-gmail-reply-all/SKILL.md b/skills/gws-gmail-reply-all/SKILL.md index 11b4d0f0..55e443ae 100644 --- a/skills/gws-gmail-reply-all/SKILL.md +++ b/skills/gws-gmail-reply-all/SKILL.md @@ -24,17 +24,17 @@ gws gmail +reply-all --message-id --body ## Flags -| Flag | Required | Default | Description | -| -------------- | -------- | ------- | ------------------------------------------------------------------- | -| `--message-id` | ✓ | — | Gmail message ID to reply to | -| `--body` | ✓ | — | Reply body (plain text, or HTML if `--html` is set) | -| `--from` | — | — | Sender address (for send-as/alias; omit to use account default) | -| `--to` | — | — | Additional To email address(es), comma-separated | -| `--cc` | — | — | Additional CC email address(es), comma-separated | -| `--bcc` | — | — | BCC email address(es), comma-separated | -| `--remove` | — | — | Exclude recipients from the outgoing reply (comma-separated emails) | -| `--html` | — | — | Treat `--body` as HTML content (default is plain text) | -| `--dry-run` | — | — | Show the request that would be sent without executing it | +| Flag | Required | Default | Description | +|------|----------|---------|-------------| +| `--message-id` | ✓ | — | Gmail message ID to reply to | +| `--body` | ✓ | — | Reply body (plain text, or HTML with --html) | +| `--from` | — | — | Sender address (for send-as/alias; omit to use account default) | +| `--to` | — | — | Additional To email address(es), comma-separated | +| `--cc` | — | — | Additional CC email address(es), comma-separated | +| `--bcc` | — | — | BCC email address(es), comma-separated | +| `--remove` | — | — | Exclude recipients from the outgoing reply (comma-separated emails) | +| `--html` | — | — | Send as HTML (quotes original with Gmail styling; treat --body as HTML) | +| `--dry-run` | — | — | Show the request that would be sent without executing it | ## Examples @@ -50,13 +50,11 @@ gws gmail +reply-all --message-id 18f1a2b3c4d --body 'Noted' --html ## Tips - Replies to the sender and all original To/CC recipients. -- Use `--to` to add extra recipients to the To field. -- Use `--cc` to add new CC recipients. -- Use `--bcc` for recipients who should not be visible to others. -- Use `--remove` to exclude recipients from the outgoing reply, including the sender or Reply-To target. -- The command fails if no To recipient remains after exclusions and `--to` additions. -- With `--html`, the quoted block uses Gmail's `gmail_quote` CSS classes and preserves the original message's HTML formatting. Use HTML fragment tags (`

`, ``, ``, etc.) — no ``/`` wrapper needed. -- With `--html`, inline images embedded in the quoted message (`cid:` references) will appear broken. Externally hosted images are unaffected. +- Use --to to add extra recipients to the To field. +- Use --cc to add new CC recipients. +- Use --bcc for recipients who should not be visible to others. +- Use --remove to exclude recipients from the outgoing reply, including the sender or Reply-To target. +- The command fails if no To recipient remains after exclusions and --to additions. ## See Also diff --git a/skills/gws-gmail-reply/SKILL.md b/skills/gws-gmail-reply/SKILL.md index 06edc485..83569e28 100644 --- a/skills/gws-gmail-reply/SKILL.md +++ b/skills/gws-gmail-reply/SKILL.md @@ -24,16 +24,16 @@ gws gmail +reply --message-id --body ## Flags -| Flag | Required | Default | Description | -| -------------- | -------- | ------- | --------------------------------------------------------------- | -| `--message-id` | ✓ | — | Gmail message ID to reply to | -| `--body` | ✓ | — | Reply body (plain text, or HTML if `--html` is set) | -| `--from` | — | — | Sender address (for send-as/alias; omit to use account default) | -| `--to` | — | — | Additional To email address(es), comma-separated | -| `--cc` | — | — | Additional CC email address(es), comma-separated | -| `--bcc` | — | — | BCC email address(es), comma-separated | -| `--html` | — | — | Treat `--body` as HTML content (default is plain text) | -| `--dry-run` | — | — | Show the request that would be sent without executing it | +| Flag | Required | Default | Description | +|------|----------|---------|-------------| +| `--message-id` | ✓ | — | Gmail message ID to reply to | +| `--body` | ✓ | — | Reply body (plain text, or HTML with --html) | +| `--from` | — | — | Sender address (for send-as/alias; omit to use account default) | +| `--to` | — | — | Additional To email address(es), comma-separated | +| `--cc` | — | — | Additional CC email address(es), comma-separated | +| `--bcc` | — | — | BCC email address(es), comma-separated | +| `--html` | — | — | Send as HTML (quotes original with Gmail styling; treat --body as HTML) | +| `--dry-run` | — | — | Show the request that would be sent without executing it | ## Examples @@ -49,10 +49,8 @@ gws gmail +reply --message-id 18f1a2b3c4d --body 'Bold reply' --html - Automatically sets In-Reply-To, References, and threadId headers. - Quotes the original message in the reply body. -- With `--html`, the quoted block uses Gmail's `gmail_quote` CSS classes and preserves the original message's HTML formatting. Use HTML fragment tags (`

`, ``, ``, etc.) — no ``/`` wrapper needed. -- With `--html`, inline images embedded in the quoted message (`cid:` references) will appear broken. Externally hosted images are unaffected. -- `--to` adds extra recipients to the To field. -- For reply-all, use `+reply-all` instead. +- --to adds extra recipients to the To field. +- For reply-all, use +reply-all instead. ## See Also diff --git a/skills/gws-gmail-send/SKILL.md b/skills/gws-gmail-send/SKILL.md index 8df1de3a..ca96c323 100644 --- a/skills/gws-gmail-send/SKILL.md +++ b/skills/gws-gmail-send/SKILL.md @@ -24,15 +24,15 @@ gws gmail +send --to --subject --body ## Flags -| Flag | Required | Default | Description | -| ----------- | -------- | ------- | -------------------------------------------------------- | -| `--to` | ✓ | — | Recipient email address(es), comma-separated | -| `--subject` | ✓ | — | Email subject | -| `--body` | ✓ | — | Email body (plain text, or HTML if `--html` is set) | -| `--cc` | — | — | CC email address(es), comma-separated | -| `--bcc` | — | — | BCC email address(es), comma-separated | -| `--html` | — | — | Treat `--body` as HTML content (default is plain text) | -| `--dry-run` | — | — | Show the request that would be sent without executing it | +| Flag | Required | Default | Description | +|------|----------|---------|-------------| +| `--to` | ✓ | — | Recipient email address(es), comma-separated | +| `--subject` | ✓ | — | Email subject | +| `--body` | ✓ | — | Email body (plain text, or HTML with --html) | +| `--cc` | — | — | CC email address(es), comma-separated | +| `--bcc` | — | — | BCC email address(es), comma-separated | +| `--html` | — | — | Treat --body as HTML content (default is plain text) | +| `--dry-run` | — | — | Show the request that would be sent without executing it | ## Examples @@ -46,7 +46,6 @@ gws gmail +send --to alice@example.com --subject 'Hello' --body 'Bold tex ## Tips - Handles RFC 2822 formatting and base64 encoding automatically. -- With `--html`, the `--body` value should be HTML content, not a full document. Use tags like `

`, ``, ``, ``, `
`, `