0.1.0 • Published 7 years ago

@conz/jira-cli v0.1.0

Weekly downloads
1
License
MIT
Repository
github
Last release
7 years ago

jira-cli

A simple CLI interface for JIRA

Usage

$ npm install -g @conz/jira-cli
$ jira COMMAND
running command...
$ jira (-v|--version|version)
@conz/jira-cli/0.1.0 darwin-x64 node-v8.9.1
$ jira --help [COMMAND]
USAGE
  $ jira COMMAND
...

Setup

You'll need a ~/.jirarc with the contents below. You can get your API token at https://id.atlassian.com/manage/api-tokens

 { 
  "email": "email@email.com",
  "token": "YOUR-ATLASSIAN-API-TOKEN",
  "project": "PROJ1", // Your default JIRA project shortname
  "subdomain": "ACOMPANY" // Your company's subdomain, i.e., https://ACOMPANY.alassian.net
}

Commands

jira help [COMMAND]

display help for jira

USAGE
  $ jira help [COMMAND]

ARGUMENTS
  COMMAND  command to show help for

OPTIONS
  --all  see all commands in CLI

See code: @oclif/plugin-help

jira ls [FILE]

List your currently assigned tasks

USAGE
  $ jira ls [FILE]

OPTIONS
  -a, --all
  -h, --help           show CLI help
  -l, --detail
  -s, --status=status
  -t, --type=type

See code: src/commands/ls.ts

jira show [ISSUE]

Show details for a specific task

USAGE
  $ jira show [ISSUE]

OPTIONS
  -h, --help  show CLI help

See code: src/commands/show.ts

jira update [CHANNEL]

update the jira CLI

USAGE
  $ jira update [CHANNEL]

See code: @oclif/plugin-update