/react-cli

Simple React CLI that will generate functional component, storybook(mdx docs supported) and styled component template.

Primary LanguageJavaScript

🦄 react-cli 🦄

GitHub package.json version

Simple React CLI that will generate functional component, storybook(mdx docs supported) and styled component template.

🛠 Technologies used

⚡️ Installation

# install react-cli script globally
yarn global add @vsimonovski/react-cli
# or
npm install -g @vsimonovski/react-cli

📼 Demo

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