1.3.1 • Published 4 years ago
branch-slug v1.3.1
Branch Naming Slugifier
GitFlow-like branch naming slugify for lazy people
Installing
npm i -g branch-slug
Usage:
$ bslug [options]
Examples:
- Don't include git command for new branch "git branch -m"
Outputs
Branch Slug: fix/abc-321-fix-that-nasty-bug copied to clipboard
- Don't copy to clipboard
Outputs
Branch Slug: git branch -m chore/abc-456-improve-our-workflow
Options:
-g, --no-git Don't include git command for new branch git branch -m
-n, --no-copy Don't copy output to the clipboard
-f, --type-feature Branch type: feature. The output is feature/{description}
-i, --type-fix Branch type: fix. The output is fix/{description}
-b, --type-bug Branch type: bug. The output is bug/{description}
-c, --type-chore Branch type: chore. The output is chore/{description}
-r, --type-release Branch type: release. The output is release/{description}
-t, --type <type> Custom branch type. The output is {type}/{description}
-h, --help output usage information