Command-line interface for DomainLang - validate, analyze, and manage Domain-Driven Design models
npm install @domainlang/cli

Command-line interface for DomainLang - a Domain-Driven Design modeling language.
- 📦 Dependency Management - Git-native model dependencies with version locking
- 🔍 Validation - Validate your DomainLang models for correctness
- 🌳 Impact Analysis - Visualize dependency trees and analyze changes
- 🔒 Compliance - Audit and check model compliance
``bash`
npm install -g @domainlang/cli
Or use with npx:
`bash`
npx @domainlang/cli --help
`bashValidate a DomainLang model
dlang model validate
Commands
$3
DomainLang supports a git-native model dependency workflow via
model.yaml and a lock file.`bash
List dependencies (from lock file)
dlang model listAdd/remove dependencies in model.yaml
dlang model add [version]
dlang model remove Install and lock dependencies
dlang install
`$3
`bash
Validate model structure and references
dlang model validateSee dependency tree and impact analysis
dlang model tree [--commits]
dlang model deps Audit and compliance checks
dlang model audit
dlang model compliance
`$3
`bash
Clear dependency cache
dlang cache-clearGet help
dlang --help
`$3
`bash
Generate code from a model (currently produces stub output)
dlang generate
``- @domainlang/language - Core language library and SDK
- DomainLang VS Code Extension - IDE support with syntax highlighting and validation
- Getting Started
- Language Reference
- Quick Reference
Apache-2.0