A CLI for [Linear](https://linear.app/) that allows you to view, create and update issues. Kind of.
npm install linear-cli-xA CLI for Linear that allows you to view, create and update issues. Kind of.
Most likely not everything is working, but eh.
Uses oclif so _:love:_ naturally.
```
npm install -g linear-cli-x
###### Setup API key
``
lr init
* lr cache:refresh
* lr cache:show
* lr config:delete
* lr config:show
* lr init
* lr issue ISSUEID
* lr issue:create
* lr issue:list
* [lr issue:search [QUERY]](#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:switch
*
Refresh the cache
``
USAGE
$ lr cache:refresh
Print the cache file
`
USAGE
$ lr cache:show
OPTIONS
-p, --pretty Pretty print
`
``
USAGE
$ lr config:delete
``
USAGE
$ lr config:show
Setup the Linear cli
``
USAGE
$ lr init
Show issue info
`
USAGE
$ lr issue ISSUEID
OPTIONS
-c, --comments Show issue comments
-d, --description Show issue description
-o, --open Open issue in web browser
ALIASES
$ lr i
EXAMPLES
$ lr issue LIN-14
$ lr issue LIN 14
$ lr issue 14 (looks in default team)
`
Create a new issue
`
USAGE
$ lr issue:create
OPTIONS
-c, --copy Copy issue url to clipboard after creating
ALIASES
$ lr create
$ lr c
`
List issues
`
USAGE
$ lr issue:list
OPTIONS
-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
`
Search issues
`
USAGE
$ lr issue:search [QUERY]
ALIASES
$ lr search
$ lr s
`
Change status of issue to "In progress" and assign to yourself.
`
USAGE
$ lr issue:start ISSUEID
OPTIONS
-c, --copy-branch copy git branch to clip-board
ALIASES
$ lr start
$ lr s
`
Return issue to preview state
`
USAGE
$ lr issue:stop ISSUEID
OPTIONS
-u, --unassign Unassign issue from yourself
ALIASES
$ lr stop
`
Update an issue
`
USAGE
$ lr issue:update ISSUEID
OPTIONS
-p, --property=title|description|status Property to modify
ALIASES
$ lr update
$ lr u
`
Show teams in this workspace
`
USAGE
$ lr teams:show
OPTIONS
-m, --mine Pretty print
`
Add a new workplace
``
USAGE
$ lr workspace:add
Print current workspace
``
USAGE
$ lr workspace:current
Switch to another workspace
```
USAGE
$ lr workspace:switch