Skip to main content
Mirage’s built-in client for Linear’s GraphQL API has a Mirage-native noun/verb command grammar partly inspired by schpet/linear-cli. The Mirage command tree is discoverable with linear --help. Licenses: schpet/linear-cli uses the ISC License; Mirage’s independent implementation uses Apache-2.0.

Install

Two installs under different names are two accounts. In YAML, the same install rides the clis: section; see the CLI overview.

Verbs

The shared shape is linear issue ... and noun groups such as team, user, project, and document. Mirage keeps the exact command tree from its former mount commands (linear issue create, linear team list). Issues are addressed by a positional key or ID (linear issue get ENG-42); every command emits normalized JSON, so output pipes straight into jq.

Reads

--team accepts a team key, name, or ID.

Writes

Descriptions and comment bodies also read from stdin: echo "body" | linear comment add ENG-42.