🦄 react-cli 🦄
Simple React CLI that will generate functional component, storybook(mdx docs supported) and styled component template.
🛠 Technologies used
⚡️ ️ Node.js🧙 Commander.js for argument management🖍 Chalk Terminal string styling done right👨🎤 Prettier for code readability
⚡️ Installation
# install react-cli script globally
yarn global add @vsimonovski/react-cli
# or
npm install -g @vsimonovski/react-cli
📼 Demo
💡 Usage
react-cli [options]
Options:
-c --component <comp-name> generate component with storybook and styled components
support
-sb --storybook <comp-name> generate component with storybook support
-sc --styled-component <comp-name> generate component with styled component support
-h, --help display help for command