linLinear CLI
Commands

lin comment

Add and manage issue comments

Add and manage issue comments

lin comment add

Add a comment to an issue

lin comment add <issue-id>

Example

lin comment add ENG-123 --body "Deployed to staging"
FlagTypeDefaultDescription
--bodystring-comment body (markdown)
--body-filestring-read the text from a file ('-' reads stdin)
--dry-run, -nboolfalseprint the intended operation and variables without executing
--jsonstring-raw GraphQL input payload as JSON ('-' reads stdin); exclusive with per-field flags
--parentstring-parent comment UUID (thread reply)

lin comment delete

Delete a comment (requires --confirm=<id>)

lin comment delete <comment-id>
FlagTypeDefaultDescription
--confirmstring-confirm the destructive action by repeating the resource id
--dry-run, -nboolfalseprint the intended operation and variables without executing

lin comment list

List the comments of an issue

lin comment list <issue-id>
FlagTypeDefaultDescription
--all, -aboolfalsefollow cursors until exhaustion
--cursorstring-resume from a previous next_cursor
--limit, -lint50page size

lin comment resolve

Resolve a comment thread

lin comment resolve <id>
FlagTypeDefaultDescription
--dry-run, -nboolfalseprint the intended operation and variables without executing
--resolving-commentstring-comment UUID that resolves the thread

lin comment unresolve

Reopen a resolved comment thread

lin comment unresolve <id>
FlagTypeDefaultDescription
--dry-run, -nboolfalseprint the intended operation and variables without executing

lin comment update

Update a comment body

lin comment update <comment-id>
FlagTypeDefaultDescription
--bodystring-comment body (markdown)
--body-filestring-read the text from a file ('-' reads stdin)
--dry-run, -nboolfalseprint the intended operation and variables without executing

On this page