react-bulk-cli
v1.0.1
Published
Cli to generate react components bulk.
Downloads
3
Maintainers
Readme
React bulk cli
Cli to generate react components bulk. npm
If you want to create React Component bulk, this cli is best solution for you!
Install
npm i -g react-bulk-cli # install global
npm i react-bulk-cli # install local
Usage
rbc -f Home About Profile # or
npx rbc -f Home About Profile
# generated dir created
# generated/About.jsx is generated
# generated/Profile.jsx is generated
# generated/Home.jsx is generated
Options
| option | alias | description | required | default | |-------------|-------|----------------------------|----------|-----------| | --files | -f | list of components | O | - | | --dir | -d | directory | X | generated | | --extension | -e | extension of component | X | jsx | | --tag | -t | root tag of each component | X | div |