Skip to content

Commit cdc7976

Browse files
sweetmantechclaude
andauthored
fix: improve notifications command description for agent clarity (#9)
The previous description was vague enough that agents looked for a --to flag, didn't find one, and never tried the command. The new description explicitly states the recipient is auto-resolved from the API key. Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
1 parent ae1ee7d commit cdc7976

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/commands/notifications.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { post } from "../client.js";
33
import { printJson, printError } from "../output.js";
44

55
export const notificationsCommand = new Command("notifications")
6-
.description("Send a notification email to the authenticated account")
6+
.description("Send an email to the account owner. The recipient is automatically resolved from your API key — no --to flag needed. Only --subject is required.")
77
.requiredOption("--subject <text>", "Email subject line")
88
.option("--text <body>", "Plain text or Markdown body")
99
.option("--html <body>", "Raw HTML body (takes precedence over --text)")

0 commit comments

Comments
 (0)