Commands
lin project
Create, inspect and manage projects
Create, inspect and manage projects
lin project add-label
add-label one label on a project without touching the rest of the set
lin project add-label <name|id>| Flag | Type | Default | Description |
|---|---|---|---|
--dry-run, -n | bool | false | print the intended operation and variables without executing |
--label | string | - | project label name or UUID |
lin project archive
Archive a project
lin project archive <name|id>| Flag | Type | Default | Description |
|---|---|---|---|
--dry-run, -n | bool | false | print the intended operation and variables without executing |
lin project create
Create a project
lin project createExample
lin project create --name "Mobile app v2" --teams ENG --lead me| Flag | Type | Default | Description |
|---|---|---|---|
--body-file | string | - | read the text from a file ('-' reads stdin) |
--description | string | - | project description (markdown) |
--dry-run, -n | bool | false | print the intended operation and variables without executing |
--json | string | - | raw GraphQL input payload as JSON ('-' reads stdin); exclusive with per-field flags |
--lead | string | - | project lead: email, UUID or "me" |
--name | string | - | project name |
--start-date | string | - | start date (YYYY-MM-DD) |
--status | string | - | project status UUID |
--target-date | string | - | target date (YYYY-MM-DD) |
--teams | stringSlice | [] | team keys or UUIDs (comma list) |
lin project delete
Move a project to trash (requires --confirm)
lin project delete <name|id>| Flag | Type | Default | Description |
|---|---|---|---|
--confirm | string | - | confirm the destructive action by repeating the resource id |
--dry-run, -n | bool | false | print the intended operation and variables without executing |
lin project get
Show one project (includes lead and milestones)
lin project get <name|id>Example
lin project get "Mobile app v2"lin project list
List projects
lin project list| Flag | Type | Default | Description |
|---|---|---|---|
--all, -a | bool | false | follow cursors until exhaustion |
--cursor | string | - | resume from a previous next_cursor |
--include-archived | bool | false | include archived projects |
--limit, -l | int | 50 | page size |
--state | string | - | filter by state: planned, started, paused, completed, canceled |
--team, -t | string | - | filter by team key or UUID |
lin project relation add
Relate two projects
lin project relation addExample
lin project relation add --project "App v2" --related-project "Platform" --type dependsOn| Flag | Type | Default | Description |
|---|---|---|---|
--anchor-type | string | project | source anchor: project or projectMilestone |
--dry-run, -n | bool | false | print the intended operation and variables without executing |
--project | string | - | source project name or UUID |
--related-anchor-type | string | project | target anchor: project or projectMilestone |
--related-project | string | - | target project name or UUID |
--type | string | - | relation type (e.g. dependsOn, blocks) |
lin project relation remove
Remove a project relation
lin project relation remove <relation-id>| Flag | Type | Default | Description |
|---|---|---|---|
--dry-run, -n | bool | false | print the intended operation and variables without executing |
lin project relation update
Update a project relation's type
lin project relation update <relation-id>| Flag | Type | Default | Description |
|---|---|---|---|
--dry-run, -n | bool | false | print the intended operation and variables without executing |
--type | string | - | relation type (e.g. dependsOn, blocks) |
lin project remove-label
remove-label one label on a project without touching the rest of the set
lin project remove-label <name|id>| Flag | Type | Default | Description |
|---|---|---|---|
--dry-run, -n | bool | false | print the intended operation and variables without executing |
--label | string | - | project label name or UUID |
lin project unarchive
Unarchive a project
lin project unarchive <name|id>| Flag | Type | Default | Description |
|---|---|---|---|
--dry-run, -n | bool | false | print the intended operation and variables without executing |
lin project update
Update a project
lin project update <name|id>| Flag | Type | Default | Description |
|---|---|---|---|
--body-file | string | - | read the text from a file ('-' reads stdin) |
--description | string | - | project description (markdown) |
--dry-run, -n | bool | false | print the intended operation and variables without executing |
--json | string | - | raw GraphQL input payload as JSON ('-' reads stdin); exclusive with per-field flags |
--lead | string | - | project lead: email, UUID or "me" |
--name | string | - | project name |
--start-date | string | - | start date (YYYY-MM-DD) |
--status | string | - | project status UUID |
--target-date | string | - | target date (YYYY-MM-DD) |
--teams | stringSlice | [] | team keys or UUIDs (comma list) |