linLinear CLI
Commands

lin label

List and manage issue labels

List and manage issue labels

lin label create

Create an issue label (workspace label unless --team is set)

lin label create

Example

lin label create --name regression --color "#f2994a" --team ENG
FlagTypeDefaultDescription
--colorstring-label color (hex, e.g. #f2994a)
--descriptionstring-label description
--dry-run, -nboolfalseprint the intended operation and variables without executing
--jsonstring-raw GraphQL input payload as JSON ('-' reads stdin); exclusive with per-field flags
--namestring-label name (required)
--parentstring-parent label UUID (label group)
--team, -tstring-team key or UUID (omit for a workspace label)

lin label delete

Delete an issue label (requires --confirm=<id>)

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

lin label list

List issue labels (team labels and workspace labels)

lin label list

Example

lin label list --team ENG --fields name,color
FlagTypeDefaultDescription
--all, -aboolfalsefollow cursors until exhaustion
--cursorstring-resume from a previous next_cursor
--limit, -lint50page size
--team, -tstring-restrict to a team (key or UUID); omit for all labels

lin label update

Update an issue label

lin label update <label-id>
FlagTypeDefaultDescription
--colorstring-label color (hex)
--descriptionstring-label description
--dry-run, -nboolfalseprint the intended operation and variables without executing
--namestring-label name

On this page