1.1.2 • Published 5 years ago

bpk-create-branch v1.1.2

Weekly downloads
3
License
MPL-2.0
Repository
github
Last release
5 years ago

BPK Create branch

Creates a feature branch with the correct prefix, and commits with a prefixed message of your choosing.

Try it!

npx bpk-create-branch

or

npm i -g bpk-create-branch
bpk-create-branch

The tool will prompt you for all the information it needs. If you want to integrate it into your CI, you can use silent mode which only takes CLI arguments.

Arguments

namedefault
--silent or -sfalse
--prefix or -pBPK
--id or -inull
--feature or -fnull
--add-all-files or -aYes
--new-branch or -nbYes
--commit-command or -ccgit commit -m
--post-commit-command or -pccnull

Testing

To run unit tests, simply use

npm run test

Snapshots can be updated automatically using the following:

UPDATE_SNAPSHOTS=true npm run test

Releasing (me only 😋)

To release, use

npm run release
1.1.2

5 years ago

1.1.1

5 years ago

1.1.0

5 years ago

1.0.0

5 years ago