Commands
lin document
Create, inspect and manage documents
Create, inspect and manage documents
lin document create
Create a document (attached to a project or an initiative)
lin document createExample
lin document create --title "Runbook" --project "Mobile app v2" --body-file runbook.md| Flag | Type | Default | Description |
|---|---|---|---|
--body-file | string | - | read the text from a file ('-' reads stdin) |
--content | string | - | document content (markdown) |
--dry-run, -n | bool | false | print the intended operation and variables without executing |
--initiative | string | - | attach to an initiative (UUID) |
--json | string | - | raw GraphQL input payload as JSON ('-' reads stdin); exclusive with per-field flags |
--project | string | - | attach to a project (name or UUID) |
--title | string | - | document title (required) |
lin document delete
Delete a document (requires --confirm=<id>)
lin document delete <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 document get
Show one document (with content)
lin document get <id>lin document list
List documents
lin document list| Flag | Type | Default | Description |
|---|---|---|---|
--all, -a | bool | false | follow cursors until exhaustion |
--cursor | string | - | resume from a previous next_cursor |
--limit, -l | int | 50 | page size |
--project | string | - | filter by project (name or UUID) |
--query | string | - | filter by title (contains, case-insensitive) |
lin document unarchive
Unarchive a document
lin document unarchive <id>| Flag | Type | Default | Description |
|---|---|---|---|
--dry-run, -n | bool | false | print the intended operation and variables without executing |
lin document update
Update a document
lin document update <id>| Flag | Type | Default | Description |
|---|---|---|---|
--body-file | string | - | read the text from a file ('-' reads stdin) |
--content | string | - | document content (markdown) |
--dry-run, -n | bool | false | print the intended operation and variables without executing |
--title | string | - | document title |