1.1.2 • Published 7 years ago
bpk-create-branch v1.1.2
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-branchor
npm i -g bpk-create-branch
bpk-create-branchThe 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
| name | default |
|---|---|
--silent or -s | false |
--prefix or -p | BPK |
--id or -i | null |
--feature or -f | null |
--add-all-files or -a | Yes |
--new-branch or -nb | Yes |
--commit-command or -cc | git commit -m |
--post-commit-command or -pcc | null |
Testing
To run unit tests, simply use
npm run testSnapshots can be updated automatically using the following:
UPDATE_SNAPSHOTS=true npm run testReleasing (me only 😋)
To release, use
npm run release