A CLI for [Linear](https://linear.app/) that allows you to quickly view, create and update issues.
npm install @tkudlicka/lrA CLI for Linear that allows you to quickly view, create and update issues.




> Warning
>
> This CLI is unmaintained and likely has issues
###### Install with npm
```
$ npm install -g @tkudlicka/lr
###### Install with yarn
``
$ yarn global add @tkudlicka/lr
###### Setup API key
``
$ lr init
](#lr-issuesearch-query)
* lr issue:start ISSUEID
* lr issue:stop ISSUEID
* lr issue:update ISSUEID
* lr teams:show
* lr workspace:add
* lr workspace:current
* lr workspace:switchlr cache:refreshRefresh the cache
`
USAGE
$ lr cache:refresh
`_See code: src/commands/cache/refresh.ts_
lr cache:showPrint the cache file
`
USAGE
$ lr cache:showOPTIONS
-p, --pretty Pretty print
`_See code: src/commands/cache/show.ts_
lr config:delete`
USAGE
$ lr config:delete
`_See code: src/commands/config/delete.ts_
lr config:show`
USAGE
$ lr config:show
`_See code: src/commands/config/show.ts_
lr initSetup the Linear cli
`
USAGE
$ lr init
`_See code: src/commands/init.ts_
lr issue ISSUEIDShow issue info
`
USAGE
$ lr issue ISSUEIDOPTIONS
-b, --branch Show branch name
-c, --comments Show issue comments
-d, --description Show issue description
-o, --open Open issue in web browser
-p, --project Show project name only
-u, --url Show issue url
ALIASES
$ lr i
`_See code: src/commands/issue/index.ts_
lr issue:createCreate a new issue
`
USAGE
$ lr issue:createOPTIONS
-c, --copy Copy issue url to clipboard after creating
ALIASES
$ lr create
$ lr c
`_See code: src/commands/issue/create.ts_
lr issue:listList issues
`
USAGE
$ lr issue:listOPTIONS
-a, --all List issues from all teams
-m, --mine Only show issues assigned to me
-s, --status=status Only list issues with provided status
-t, --team=team List issues from another team
-u, --uncompleted Only show uncompleted issues
-x, --extended show extra columns
--columns=columns only show provided columns (comma-separated)
--csv output is csv format [alias: --output=csv]
--filter=filter filter property by partial string matching, ex: name=foo
--no-header hide table header from output
--no-truncate do not truncate output to fit screen
--output=csv|json|yaml output in a more machine friendly format
--sort=sort [default: -status] property to sort by (prepend '-' for descending)
ALIASES
$ lr list
$ lr ls
$ lr l
`_See code: src/commands/issue/list.ts_
lr issue:search [QUERY]describe the command here
`
USAGE
$ lr issue:search [QUERY]ALIASES
$ lr search
$ lr s
`_See code: src/commands/issue/search.ts_
lr issue:start ISSUEIDChange status of issue to "In progress" and assign to yourself.
`
USAGE
$ lr issue:start ISSUEIDOPTIONS
-c, --copy-branch copy git branch to clip-board
ALIASES
$ lr start
$ lr s
`_See code: src/commands/issue/start.ts_
lr issue:stop ISSUEIDReturn issue to preview state
`
USAGE
$ lr issue:stop ISSUEIDOPTIONS
-u, --unassign Unassign issue from yourself
ALIASES
$ lr stop
`_See code: src/commands/issue/stop.ts_
lr issue:update ISSUEIDUpdate an issue
`
USAGE
$ lr issue:update ISSUEIDOPTIONS
-p, --property=title|description|status Property to modify
ALIASES
$ lr update
$ lr u
`_See code: src/commands/issue/update.ts_
lr teams:showShow teams in this workspace
`
USAGE
$ lr teams:showOPTIONS
-m, --mine Pretty print
`_See code: src/commands/teams/show.ts_
lr workspace:addAdd a new workplace
`
USAGE
$ lr workspace:add
`_See code: src/commands/workspace/add.ts_
lr workspace:currentPrint current workspace
`
USAGE
$ lr workspace:current
`_See code: src/commands/workspace/current.ts_
lr workspace:switchSwitch to another workspace
`
USAGE
$ lr workspace:switch
`_See code: src/commands/workspace/switch.ts_
ZSH completions
If you want to add completions for the
lr command and you're using ZSH you can do the following:`sh
1. Clone this repository
> git clone https://github.com/evangodon/linear-cli
> cd linear-cli2. On Arch Linux you can do
sudo cp zsh-completions/_lr /usr/share/zsh/site-functions/3. Open a new terminal an enjoy the completions :)
``