Licence
MIT
Version
0.2.3
Deps
3
Size
8 kB
Vulns
4
Weekly
0
cranch
Why cranch?
Ever found yourself spending more time brainstorming the perfect branch name than actually coding? If so, you just need to type c or cranch.
c
or
cranch
Intro
cranch is a tiny library to create a random branch name. You know, it is a very difficult thing to think of a great name.
Install
npm install cranch -g
Options
cranch support some option to create a prefix name.
cranch -f
It will checkout a branch named feat-xxxxxx.
-f or --feat
cranch [-f --feat]
feat-xxxxxx
-fi or --fix
cranch [-fi --fix]
fix-xxxxxx
-d or --doc
cranch [-d --doc]
doc-xxxxxx
-s or --style
cranch [-s --style]
style-xxxxxx
-r or --refactor
cranch [-r --refactor]
refactor-xxxxxx
-p or --perf
cranch [-f --perf]
perf-xxxxxx
-t or --test
cranch [-t --test]
test-xxxxxx
-c or --chore
cranch [-c --chore]
chore-xxxxxx
-r or --revert
cranch [-rv --revert]
revert-xxxxxx