linLinear CLI
Commands

lin custom-view

Manage custom views

Manage custom views

lin custom-view create

Create a custom view (filters via raw --json)

lin custom-view create

Example

lin custom-view create --json '{"name":"My bugs","filterData":{"labels":{"name":{"eq":"bug"}}}}'
FlagTypeDefaultDescription
--descriptionstring-view 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-view name
--sharedboolfalseshare the view with the workspace

lin custom-view delete

Delete a custom view (requires --confirm)

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

lin custom-view get

Show one custom view including its filter data

lin custom-view get <id>

lin custom-view list

List custom views

lin custom-view list
FlagTypeDefaultDescription
--all, -aboolfalsefollow cursors until exhaustion
--cursorstring-resume from a previous next_cursor
--limit, -lint50page size

lin custom-view update

Update a custom view

lin custom-view update <id>
FlagTypeDefaultDescription
--descriptionstring-view 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-view name
--sharedboolfalseshare the view with the workspace

On this page