CLI Interface
The mnmn Command Line Interface provides powerful tools for developers with a clean, modular architecture that enables seamless integration into your workflow.
shell
Getting Started
Install CLI
Use your preferred package manager:
npm install -g @mnmn/cli
Or use the standalone binary:
curl -fsSL https://get.mnmn.com/cli | sh
Initialize Project
✓
Create a new project folder:
mkdir my-project
✓
navigate and initialize:
cd my-project
mnmn new
Core Commands
Build Command
mnmn build
mnmn build --watch
mnmn build --optimize
Watch mode rebuilds automatically, optimization flags are enabled by default in production builds.
Advanced Configuration
Configuration File
Create a config file at the root of your project to customize cli behavior.
// mnmn.config.js
{
"build": {
"output": "./dist",
"optimize": true
},
"test": {
"coverage": true,
"reporter": "html"
}
}
Plugin System
Extend functionality with plugins through standardized interface.
npm install @mnmn/plugin-typescript
mnmn build --use @mnmn/plugin-typescript
300+ plugins available for linting, formatting, and specialized builds.