Skip to content

Commit dfa83f1

Browse files
lmjabreuclaude
andcommitted
docs(thread): document group IDs in --notify help text
`tdc thread reply/create --notify` already accepts custom group IDs (partitioned via resolveNotifyIds → groups), but the help text only mentioned "user IDs". Since Comms group IDs are non-numeric base58 strings that look nothing like user IDs, the capability was effectively undiscoverable from --help. Mention groups in both option descriptions and add a group-notify example to the reply command's existing example block (alongside --close / --file). No behaviour change. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent a33da5e commit dfa83f1

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

src/commands/thread/index.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ Examples:
5050
withUnvalidatedChoices(
5151
new Option(
5252
'--notify <recipients>',
53-
'Notification recipients: EVERYONE, EVERYONE_IN_THREAD, or comma-separated user IDs (default: EVERYONE_IN_THREAD)',
53+
'Notification recipients: EVERYONE, EVERYONE_IN_THREAD, or comma-separated user and/or group IDs (default: EVERYONE_IN_THREAD)',
5454
),
5555
['EVERYONE', 'EVERYONE_IN_THREAD'],
5656
),
@@ -68,6 +68,7 @@ Examples:
6868
tdc thread reply 12345 "Sounds good!"
6969
echo "Long reply" | tdc thread reply 12345
7070
tdc thread reply 12345 "Done" --close --json
71+
tdc thread reply 12345 "Heads up" --notify 67890,Cbzzm11ZeYZoJYD4a6rti
7172
tdc thread reply 12345 "See attached" --file ./diagram.png
7273
tdc thread reply 12345 --file ./a.png --file ./b.pdf`,
7374
)
@@ -76,7 +77,7 @@ Examples:
7677
thread
7778
.command('create <channel-ref> <title> [content]')
7879
.description('Create a new thread in a channel')
79-
.option('--notify <recipients>', 'Comma-separated user IDs to notify')
80+
.option('--notify <recipients>', 'Comma-separated user and/or group IDs to notify')
8081
.option(
8182
'--unarchive',
8283
'Unarchive after creation so the thread appears in your Inbox (overrides userSettings.unarchiveNewThreads when false)',

0 commit comments

Comments
 (0)