linear-cli-x
v0.0.11
Published
A CLI for [Linear](https://linear.app/) that allows you to view, create and update issues. Kind of.
Downloads
2
Readme
Linear CLI
A 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.
Installation
npm install -g linear-cli-x
Setup API key
lr init
Commands
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 issue:start ISSUEID
lr issue:stop ISSUEID
lr issue:update ISSUEID
lr teams:show
lr workspace:add
lr workspace:current
lr workspace:switch
lr cache:refresh
Refresh the cache
USAGE
$ lr cache:refresh
lr cache:show
Print the cache file
USAGE
$ lr cache:show
OPTIONS
-p, --pretty Pretty print
lr config:delete
USAGE
$ lr config:delete
lr config:show
USAGE
$ lr config:show
lr init
Setup the Linear cli
USAGE
$ lr init
lr issue ISSUEID
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)
lr issue:create
Create a new issue
USAGE
$ lr issue:create
OPTIONS
-c, --copy Copy issue url to clipboard after creating
ALIASES
$ lr create
$ lr c
lr issue:list
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
lr issue:search [QUERY]
Search issues
USAGE
$ lr issue:search [QUERY]
ALIASES
$ lr search
$ lr s
lr issue:start ISSUEID
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
lr issue:stop ISSUEID
Return issue to preview state
USAGE
$ lr issue:stop ISSUEID
OPTIONS
-u, --unassign Unassign issue from yourself
ALIASES
$ lr stop
lr issue:update ISSUEID
Update an issue
USAGE
$ lr issue:update ISSUEID
OPTIONS
-p, --property=title|description|status Property to modify
ALIASES
$ lr update
$ lr u
lr teams:show
Show teams in this workspace
USAGE
$ lr teams:show
OPTIONS
-m, --mine Pretty print
lr workspace:add
Add a new workplace
USAGE
$ lr workspace:add
lr workspace:current
Print current workspace
USAGE
$ lr workspace:current
lr workspace:switch
Switch to another workspace
USAGE
$ lr workspace:switch