@linear/cli
Command line tools for Linear
Last updated a year ago by jorilallo .
MIT · Original npm · Tarball · package.json
$ cnpm install @linear/cli 
SYNC missed versions from official npm registry.

@linear/cli

Command line tool to create Linear issues using your favorite editor.

Installation

Install from NPM as global command:

npm install @linear/cli -g

# ...or with yarn:

yarn global add @linear/cli

After installation you need to login and provide your developer key which can be create in settings:

linear login

If you need to change your settings later, you can use the same command or edit .linearrc from your home folder. To use VS Code as editor, you need to set it to wait similar to when using with git: code --wait

Usage

New issue

Create new Linear issue with interactive prompts:

linear issue

If you want to create issue directly without user input:

linear issue "New issue title" --description "More detailed description" --skipInput

New comment

Create a new issue comment with your editor:

linear comment ENG-123

Create without editor:

linear comment ENG-123 --comment "This seems great."

Change issue status

Update issue's status through interactive prompt:

linear status ENG-123

Close issue

Mark issue as done:

linear close ENG-123

Assign issue

Update issue's assignee through interactive prompt:

linear assign ENG-13

Development

Install dependencies:

yarn

Link the package locally and start development server:

yarn link
yarn dev

After development server is running, you'll be able to test the CLI by running linear like it would be installed globally.

License

MIT

Current Tags

  • 0.0.2                                ...           latest (a year ago)

2 Versions

  • 0.0.2                                ...           a year ago
  • 0.0.1                                ...           a year ago
Maintainers (2)
Downloads
Today 0
This Week 0
This Month 2
Last Day 0
Last Week 0
Last Month 8
Dependencies (15)
Dev Dependencies (2)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |