jira-git-cli
A CLI to supercharge
jg
: It's Your Toolset. You Want It Now.
Prerequisites
Node
Node.js >= 12
Environment variables:
Environment variables used by the jira-git-cli are prefixed with JG_
.
JG_JIRA_API_TOKEN='<your_jira_api_token>'
Usage
First things first: set up the environment variables listed in the Prerequisites.
Next, run init, and follow prompts:
jg init
Create a git branch using jira issues assigned to you:
jg br
help
command to see more options, such as filtering by project(s)!
Move the status of the Jira Issue you're working on:
jg mv 'In QA'
Help and more...
For more commands and information, seek help
.
jg help
Local Development
Trying to keep it simple here...
# 1. Install dependencies
yarn
# 2. Make some changes in the /src folder
...
# 3. Run the tests
yarn test
# 4. Build the output
yarn build
# 5. Commit changes
...
Happy hacking!