Skip to content

Latest commit

 

History

History
executable file
·
44 lines (28 loc) · 627 Bytes

Readme.md

File metadata and controls

executable file
·
44 lines (28 loc) · 627 Bytes

Jira Branchname creator

Create git flow branch name using Jira issues assgined to you.

Run

Create .env file. And add your info.

cp .env.example .env

Run script

node index.mjs

Pipe

The prompts are displayed using stderr. This allows you to pipe to other commands.

As an example, you can create a new branch using or script as a substitution command.

git checkout -b $(node index.mjs)

Copy to clipboard

node index.mjs --copy-to-clipboard

Your resulting branchname will be copied ready for you to use.

Install

installs globally.

npm link