cranch
TypeScript icon, indicating that this package has built-in type declarations

0.2.3 • Public • Published

cranch

NPM npm

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

Readme

Keywords

Package Sidebar

Install

npm i cranch

Weekly Downloads

0

Version

0.2.3

License

MIT

Unpacked Size

7.78 kB

Total Files

8

Last publish

Collaborators

  • yukiniro