@mycli-cli/cli
v1.0.4
Published
MyCLI — Laravel Artisan-style development platform for Node.js. Scaffold APIs, full-stack apps, CRUD modules, auth, Docker, CI/CD, and cloud deploy with one CLI.
Maintainers
Readme
MyCLI
Laravel Artisan for Node.js — a production-grade TypeScript CLI that scaffolds full-stack apps, generates modules, and ships with auth, Docker, CI/CD, and 49+ plugins.
Install
npm install -g @mycli-cli/cliRequires Node.js 22+.
Verify:
my --version
my --helpQuick start
# Create a new project (interactive wizard)
my create
# Or scaffold an API with defaults
my create my-api --yes
# Generate a CRUD module
cd my-api
my make crud product --fields name:string,price:number,description:text
# Add features
my add auth
my add rbac
my add swagger
my add docker
my add cicd --provider github
# Check project health
my doctorWhat is MyCLI?
If you have used Laravel Artisan, Rails generators, or NestJS CLI, MyCLI brings the same workflow to Node.js and TypeScript.
One command creates a structured project. Generators add modules, CRUD, migrations, and tests — with routes and dependencies registered automatically.
Supported stacks
| Category | Options | |----------|---------| | Backend | Express, Fastify, Hono, Koa, NestJS | | Frontend | React, Next.js, Vue, Nuxt, Angular | | Database | PostgreSQL, MySQL, MariaDB, SQLite, MongoDB, Redis, SQL Server, CockroachDB | | ORM | Prisma, Drizzle, TypeORM, Mongoose, Sequelize, MikroORM | | Architecture | Monolith, modular monolith, microservice, monorepo, Clean Architecture, DDD | | Cloud | AWS, Azure, GCP, Railway, Render, Fly.io, Vercel, Netlify |
Core commands
my create # Interactive project wizard
my make module user # Generate a feature module
my make crud order # Full CRUD with validation, Swagger, tests
my add auth # JWT, OAuth, MFA, sessions, passkeys
my add rbac # Roles & permissions
my add database # DB config, migrations, seeders
my add docker # Dockerfile + docker-compose
my add kubernetes # K8s manifests
my add swagger # OpenAPI / Swagger docs
my add testing # Vitest, Jest, Playwright, Cypress
my role create admin # RBAC role management
my permission create user.read
my plugin search docker
my plugin install @mycli-cli/docker
my deploy setup # Cloud deployment configs
my doctor # Project health check
my upgrade # Safe project upgradesRun my --help for the full command list (40+ commands and 49+ plugin commands).
Generators
my make list
my make module billing
my make controller auth
my make service payment
my make repository product
my make migration create_users
my make domain user # Domain-Driven Design module
my make command create-order # CQRS command + handler
my make queue send-email
my make mail welcome-emailPlugins
MyCLI is plugin-based. Official plugins cover auth, Docker, databases, cloud providers, CI/CD, and more.
my plugin search postgres
my plugin install @mycli-cli/postgres
my plugin listDocumentation
- Docs site: https://rutvik-sonani.github.io/mycli-cli/
- GitHub: https://github.com/Rutvik-sonani/mycli-cli
- Issues: https://github.com/Rutvik-sonani/mycli-cli/issues
Who is it for?
- Node.js / TypeScript developers who rebuild the same API skeleton every project
- Startups shipping SaaS with auth, RBAC, and Docker included
- Teams wanting consistent structure across microservices and monorepos
- Anyone who wished Artisan existed for Node.js
License
MIT © Rutvik Sonani
