mita-cli
v0.1.0
Published
Scaffold projects from templates, install deps, and launch your dev server in one command
Readme
mita-cli
Scaffold projects from templates, install dependencies, and launch your dev server — all in one command.
npm install -g mita-cliUsage
# Create a new project (interactive)
mita create
# Create with a specific template
mita create my-app --template express-api
# List all available templates
mita list
# Show info about a template
mita info express-api
# Re-run the dev server in an existing mita project
mita runHow it works
- Pick a template from the registry (or pass
--template) - mita clones the template, installs dependencies, and starts your dev server
- Templates include a
mita.config.jsonthat tells mita how to install and run the project
Templates
Templates live in the mita-cli GitHub org. Each template repo contains a mita.config.json:
{
"name": "my-template",
"type": "node",
"install": "npm install",
"dev": "npm run dev",
"port": 3000,
"openBrowser": false
}Run mita list to see all available templates.
Requirements
- Node.js >= 18
- git
License
MIT
