Mudey React CLI
Mudey React CLI is a command-line tool to simplify the process of creating React pages or components using recommended best practices.
Table of Contents
Installation
To install Mudey React CLI, you need to have Node.js (version 12 or higher) and npm (or yarn) installed on your system. Then, run the following command in your terminal:
$ npm install -g mudey-react-cli
or with yarn:
yarn global add mudey-react-cli
Usage
Once the installation is complete, you can use the mudey-react-cli command to create a new React page. Here's how you can use it:
mudey-react-cli page Home
or
mudey-react-cli p Home
This will create a new React page with the name Home in the ./src directory.
Available Commands
Here are some of the available commands with Mudey React CLI:
mudey-react-cli page [component-name]: Create a new React page.
mudey-react-cli p [component-name]: Create a new React page.
mudey-react-cli component [component-name]: Create a new React component.
mudey-react-cli c [component-name]: Create a new React component.
mudey-react-cli guard [component-name]: Create a new React Guard component.
mudey-react-cli g [component-name]: Create a new React Guard component.
Contributions
Contributions are welcome! If you want to contribute to this project, please check our CONTRIBUTING.md guide to learn more about how to get involved.
License
This project is licensed under the MIT License. For more information, see the LICENSE file.
This project is maintained by the Mudey team. Thank you for using it!