CLICommands

comment

snug comment <COMMAND>

Universal threaded comments with moderation and reactions.

Subcommands

CommandWhat it does
postPost a top-level comment on a target resource
replyReply to an existing comment
threadShow a comment thread for a target resource
getGet a single comment
editEdit a comment
deleteSoft delete a comment
reactReact to a comment
unreactRemove a reaction from a comment
toggleToggle a reaction on a comment (add if absent, remove if present)
moderateModerate a comment or list the flagged queue
pinPin or unpin a comment
auditCreate a hidden agent audit comment

Run snug comment <command> --help for that command's own options. The global options apply everywhere.

Examples

snug comment post --target tle_123 --type timeline_event --body "Needs review from @user_456"
snug comment thread --target tle_123 --type timeline_event
snug comment get --comment-id cmt_01JCOMM
snug comment reply --parent cmt_01JCOMM --target tle_123 --type timeline_event --body "Agreed"
snug comment edit --comment-id cmt_01JCOMM --body "Updated text"
snug comment delete --comment-id cmt_01JCOMM
snug comment react --comment-id cmt_01JCOMM --reaction like
snug comment unreact --comment-id cmt_01JCOMM --reaction like
snug comment toggle --comment-id cmt_01JCOMM --reaction like
snug comment moderate --flagged
snug comment moderate --comment-id cmt_01JCOMM --state hidden --reason "Personal information"
snug comment pin --comment-id cmt_01JCOMM
snug comment pin --comment-id cmt_01JCOMM --unpin
snug comment audit --target item_123 --type item --body "Repair script reconciled durability"

Next

On this page