To install JDM CLI globally, run:
npm install -g jdm-cli
After installation, you can use jdm
from the terminal.
jdm create <type> <name>
- type:
router
,model
, ormiddleware
- name: The name of the component
Example:
jdm create router user
jdm setup [options]
Options:
--force
: Overwrite existing files--clean
: Remove existing project files before setup
jdm clean
Removes unnecessary files and folders from your project.
jdm license
Displays the MIT License for JDM CLI.
JDM CLI is licensed under the MIT License. Run jdm license
to view it.