jdm-react-router-cli
v1.0.0
Published
A CLI tool to generate Express.js routers, models, middleware, and controllers
Maintainers
Readme
JDM CLI
Generate Express routers, models, and middleware effortlessly.
Installation
To install JDM CLI globally, run:
npm install -g jdm-cliUsage
After installation, you can use jdm from the terminal.
Create a New Component
jdm create <type> <name>- type:
router,model, ormiddleware - name: The name of the component
Example:
jdm create router userSetup a New Project
jdm setup [options]Options:
--force: Overwrite existing files--clean: Remove existing project files before setup
Clean a Project
jdm cleanRemoves unnecessary files and folders from your project.
View License
jdm licenseDisplays the MIT License for JDM CLI.
Development
To work on JDM CLI locally:
git clone https://github.com/yourname/jdm-cli.git
cd jdm-cli
npm install
npm linkThis links the CLI globally so you can test it.
License
JDM CLI is licensed under the MIT License. Run jdm license to view it.
