This package was inspired on this repo:
https://github.com/Rocketseat/youtube-cli-node-gluegun
A CLI for react-structure-helpers.
yarn global add react-structure-helpers
or
npm install -g react-structure-helpers
generate one or more pages inside src/pages for ReactJS and React Native projects
rctsh generate:pages page1 page2 page3 ...
--route . Use this option for create a route.js file with imports for the pages created. If the routes.js file already exists the imports will be added on the end of file.
To do *** To add the imports on rigth location if the routes.js file exists
rctsh generate:pages page1 page2 page3 --route
generate one or more components inside src/components for ReactJS and React Native projects
rctsh generate:components page1 page2 page3 ...
MIT - see LICENSE