linLinear CLI
Commands

lin initiative

Create, inspect and manage initiatives

Create, inspect and manage initiatives

lin initiative add-label

add-label one label on an initiative without touching the rest of the set

lin initiative add-label <name|id>
FlagTypeDefaultDescription
--dry-run, -nboolfalseprint the intended operation and variables without executing
--labelstring-initiative label name or UUID

lin initiative archive

Archive an initiative

lin initiative archive <name|id>
FlagTypeDefaultDescription
--dry-run, -nboolfalseprint the intended operation and variables without executing

lin initiative create

Create an initiative

lin initiative create
FlagTypeDefaultDescription
--body-filestring-read the text from a file ('-' reads stdin)
--descriptionstring-initiative description (markdown)
--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-initiative name (required)
--ownerstring-owner: email, UUID or "me"

lin initiative delete

Move an initiative to trash (requires --confirm)

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

lin initiative get

Show one initiative

lin initiative get <name|id>

lin initiative lead-team

Set or clear the lead team of an initiative

lin initiative lead-team <name|id>
FlagTypeDefaultDescription
--clearboolfalseclear the lead team
--dry-run, -nboolfalseprint the intended operation and variables without executing
--team, -tstring-lead team key or UUID

Attach a project to an initiative

lin initiative link-project <initiative> <project>

Example

lin initiative link-project "Q3 Growth" "Mobile app v2"
FlagTypeDefaultDescription
--dry-run, -nboolfalseprint the intended operation and variables without executing

lin initiative list

List initiatives

lin initiative list
FlagTypeDefaultDescription
--all, -aboolfalsefollow cursors until exhaustion
--cursorstring-resume from a previous next_cursor
--include-archivedboolfalseinclude archived initiatives
--limit, -lint50page size

lin initiative relation add

Relate two initiatives

lin initiative relation add
FlagTypeDefaultDescription
--dry-run, -nboolfalseprint the intended operation and variables without executing
--initiativestring-source initiative name or UUID
--related-initiativestring-target initiative name or UUID

lin initiative relation remove

Remove an initiative relation

lin initiative relation remove <relation-id>
FlagTypeDefaultDescription
--dry-run, -nboolfalseprint the intended operation and variables without executing

lin initiative remove-label

remove-label one label on an initiative without touching the rest of the set

lin initiative remove-label <name|id>
FlagTypeDefaultDescription
--dry-run, -nboolfalseprint the intended operation and variables without executing
--labelstring-initiative label name or UUID

lin initiative unarchive

Unarchive an initiative

lin initiative unarchive <name|id>
FlagTypeDefaultDescription
--dry-run, -nboolfalseprint the intended operation and variables without executing

Remove a project from an initiative (link UUID from link-project output)

lin initiative unlink-project <link-id>
FlagTypeDefaultDescription
--dry-run, -nboolfalseprint the intended operation and variables without executing

lin initiative update

Update an initiative

lin initiative update <name|id>
FlagTypeDefaultDescription
--body-filestring-read the text from a file ('-' reads stdin)
--descriptionstring-initiative description (markdown)
--dry-run, -nboolfalseprint the intended operation and variables without executing
--namestring-initiative name
--ownerstring-owner: email, UUID or "me"

On this page