kimu-cli
v1.3.0
Published
Official command-line interface for the KIMU framework ecosystem - Create, build, and manage KIMU applications with extensible template-based generators
Maintainers
Readme
KIMU-CLI
Official command-line interface for the KIMU framework ecosystem.
Installation
Global Installation (Recommended)
Install globally to use kimu command anywhere:
npm install -g kimu-cliVerify Installation
kimu --version
kimu --helpAlternative: Use with npx
Run without installation:
npx kimu-cli create my-appQuick Start
Create a new KIMU application:
# Create a new project
kimu create my-app
# Navigate to project
cd my-app
# Start development server
npm run devYour application will be available at http://localhost:5173/
Features
- 🚀 Project Creation: Create new KIMU applications from templates with
kimu create - 🎨 Component Generation: Extensible template-based system with
kimu new - 🔌 Custom Generators: Add new component types via JSON configuration
- 📦 Module Management: Install and manage modules from kimu-modules registry (mock, real registry coming soon)
- 🧩 Extension Management: Install and manage UI extensions (mock, real registry coming soon)
- 📋 Package Discovery: List and browse available modules and extensions
- 🔧 Build Tools: Build and serve KIMU applications with optimization (planned)
- 🔍 Diagnostics: Project health checks and compatibility validation (planned)
Current Status
✅ Available Commands:
kimu create- Create new KIMU projects from npm packagekimu new <type> <name>- Generate components from templates (extension, module, etc.)kimu new:list- List all available component generatorskimu install module <name>- Install KIMU modules (mock, real registry coming soon)kimu install extension <name>- Install KIMU extensions (mock, real registry coming soon)kimu list modules/extensions/installed- Browse and discover packageskimu info- Show project informationkimu version- Show version informationkimu help- Command help system
⏳ Planned Commands:
kimu remove- Package removalkimu dev/build/serve- Development workflowkimu doctor- Project diagnostics
Author
Marco Di Pasquale
Collettivo UnicòVerso
Progetto KIMU Framework
Per la lista completa degli autori e collaboratori, vedi AUTHORS.md.
Per contatti, suggerimenti o collaborazioni: GitHub @marcodipasquale
Contributions
Contributions are welcome! See CONTRIBUTING.md for guidelines.
If you use KIMU-CLI or want to improve it, open an issue or a pull request.
References & Useful Links
Available Commands
- Command: create
- Command: new - Extensible template-based generator system
- Command: install ✅ - Install modules and extensions
- Command: list ✅ - Browse and discover packages
- Command: info
- Command: help
- Command: version
Planned Commands
Installation
Global Installation (Recommended)
npm install -g kimu-cliLocal Installation
npm install --save-dev kimu-cliQuick Start
Create a New KIMU Project
# Create a basic KIMU application
kimu create my-app
# Create with git initialization
kimu create my-dashboard --git
# Create and force overwrite if directory exists
kimu create my-app --forceProject Information
# Show project info
kimu info
# Show detailed information
kimu info --verbose
# JSON output for automation
kimu info --jsonVersion Information
# Show CLI version
kimu version
# Show detailed version info
kimu version --verboseGet Help
# Show all available commands
kimu help
# Show help for specific command
kimu help create
kimu create --helpCommands
✅ Available Commands
kimu create <name>- Create a new KIMU project with basic structurekimu new <type> <name>- Generate components from templates (extension, module, etc.)kimu new:list- List all available component generatorskimu info- Show information about the current KIMU projectkimu version- Show KIMU-CLI version and system informationkimu help- Show help for all commands or specific command
⏳ Planned Commands (Coming Soon)
kimu install <name>- Install modules and extensionskimu remove <name>- Remove modules and extensionskimu list [type]- List available or installed packageskimu dev- Start development server with hot reloadkimu build- Build project for productionkimu serve- Serve built project for testingkimu doctor- Run project health diagnosticskimu install module <name>- Install a modulekimu remove <name>- Remove a module or extensionkimu list modules- List available moduleskimu list installed- List installed packages
Project Operations
kimu build- Build the projectkimu dev- Start development serverkimu serve- Serve built project
Information & Diagnostics
kimu info- Show project informationkimu doctor- Run diagnosticskimu version- Show version information
Project Structure
my-kimu-app/
├── src/
│ ├── main.ts # Application entry point
│ ├── app.ts # Main application component
│ └── components/ # Custom components
├── public/ # Static assets
├── dist/ # Built files
├── package.json # NPM configuration
├── kimu.config.json # KIMU project configuration
├── tsconfig.json # TypeScript configuration
└── vite.config.ts # Build configurationConfiguration
kimu.config.json
{
"name": "my-kimu-app",
"version": "1.0.0",
"kimuCore": "^1.0.0",
"template": "basic",
"modules": {
"installed": ["router", "i18n"],
"registry": "https://github.com/unicoverso/kimu-modules"
},
"extensions": {
"installed": ["app-root"],
"main": "app-root"
}
}Development
Requirements
- Node.js >= 18.0.0
- npm >= 8.0.0
Local Development
git clone https://github.com/UnicoVerso/kimu-cli.git
cd kimu-cli
npm install
npm run build
npm linkTesting
npm test # Run tests
npm run test:watch # Watch mode
npm run test:coverage # With coverageCode Quality
npm run lint # Check code quality
npm run lint:fix # Fix linting issues
npm run format # Format codeContributing
We welcome contributions! Please see our Contributing Guide for details.
License
This project is licensed under the Mozilla Public License 2.0 - see the LICENSE file for details.
