cnd-cli
v0.0.4
Published
CLI tool for generating CND modules in your Node.js projects
Maintainers
Readme
cnd-cli - CND CLI Tool
Command-line tool for generating CND modules in your Node.js projects.
Installation
# Global installation
npm install -g cnd-cli
# Or use without installing
npx cnd-cliUsage
Generate a Module
cnd generate <module-name>
# Alias
cnd g <module-name>
# With options
cnd generate audit-history --dry-run
cnd generate audit-history --skip-install
cnd generate audit-history --forceList Available Modules
cnd list
# Alias
cnd lsShow Module Info
cnd info <module-name>
# Example
cnd info audit-historyAvailable Modules
- audit-history - Complete audit trail system for NestJS/TypeORM
More modules coming soon!
Options
--dry-run- Preview changes without writing files--skip-install- Don't install dependencies-f, --force- Overwrite existing files
Example Workflow
# 1. Create a new NestJS project
npx @nestjs/cli new my-app
cd my-app
# 2. Generate audit history module
npx cnd generate audit-history
# 3. Follow the instructions displayedDevelopment
# Install dependencies
npm install
# Build
npm run build
# Watch mode
npm run dev
# Test
npm testLicense
MIT
