Comment
New in 0.15.0. The comment-thread surface used to be reached through overloaded flags on
post(post comment,post comments,post react --comment-id). Those are removed — comment threads are now a dedicated, agent-legible command group.
The comment commands let you list, publish, reply to, edit, delete, and react to comments on a LinkedIn post. All commands are account-scoped and require --account (or a default set via curviate config set-account).
Post IDs and comment IDs are verbatim identifiers, or a urn:li:activity:N share URN for the post id.
Commands
# List the comments on a post (paginated read)
curviate comment list <post_id> [--limit <n>] [--cursor <token>] [--all] [--max-pages <n>]# Publish a comment on a post (write, multipart, --preview accepted)
# TEXT — pass - to read from stdin
curviate comment add <post_id> "<text>" [--attach <file>]# Reply to a comment (write, multipart, --preview accepted)
curviate comment reply <post_id> <comment_id> "<text>" [--attach <file>]# Edit your own comment (write, --preview accepted)
curviate comment edit <post_id> <comment_id> "<new text>"# Delete your own comment (write, --preview accepted)
curviate comment delete <post_id> <comment_id># List the replies to a comment (paginated read)
curviate comment replies <post_id> <comment_id> [--limit <n>] [--cursor <token>] [--all] [--max-pages <n>]# React to a comment (write, --preview accepted)
# Allowed values: like, celebrate, support, love, insightful, funny
curviate comment react <post_id> <comment_id> <like|celebrate|support|love|insightful|funny># List the reactions on a comment (paginated read)
curviate comment reactions <post_id> <comment_id> [--limit <n>] [--cursor <token>] [--all] [--max-pages <n>]# Remove your reaction from a comment (write, --preview accepted)
curviate comment unreact <post_id> <comment_id> <like|celebrate|support|love|insightful|funny># List the comments authored by a user (paginated read, accepts 'me')
curviate comment user <user_id> [--limit <n>] [--cursor <token>] [--all] [--max-pages <n>]comment add and comment reply accept at most one --attach (an image file). Write commands do not show pagination flags (--limit, --cursor, --all, --max-pages).
Examples
List comments on a post
curviate comment list urn:li:activity:1234567890 --account acc_YOUR_ACCOUNT_IDComment on a post
curviate comment add urn:li:activity:1234567890 "Great post! Really insightful perspective." --account acc_YOUR_ACCOUNT_IDReply to a comment
curviate comment reply urn:li:activity:1234567890 comment_YOUR_COMMENT_ID "Agreed — this is a great point." --account acc_YOUR_ACCOUNT_IDEdit or delete your own comment
curviate comment edit urn:li:activity:1234567890 comment_YOUR_COMMENT_ID "Updated: really insightful perspective, thanks for sharing." --account acc_YOUR_ACCOUNT_ID
curviate comment delete urn:li:activity:1234567890 comment_YOUR_COMMENT_ID --account acc_YOUR_ACCOUNT_IDReact to a comment, then remove the reaction
curviate comment react urn:li:activity:1234567890 comment_YOUR_COMMENT_ID insightful --account acc_YOUR_ACCOUNT_ID
curviate comment unreact urn:li:activity:1234567890 comment_YOUR_COMMENT_ID insightful --account acc_YOUR_ACCOUNT_IDRead a comment thread's replies (streaming)
curviate comment replies urn:li:activity:1234567890 comment_YOUR_COMMENT_ID --all --account acc_YOUR_ACCOUNT_IDList your own comments
curviate comment user me --account acc_YOUR_ACCOUNT_ID