@domainlang/cli 0.1.20 → 0.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +10 -10
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
# @domainlang/cli
|
|
2
2
|
|
|
3
3
|
[](https://www.npmjs.com/package/@domainlang/cli)
|
|
4
|
-
[](https://github.com/
|
|
4
|
+
[](https://github.com/DomainLang/DomainLang/blob/main/LICENSE)
|
|
5
5
|
|
|
6
|
-
Command-line interface for [DomainLang](https://github.com/
|
|
6
|
+
Command-line interface for [DomainLang](https://github.com/DomainLang/DomainLang) - a Domain-Driven Design modeling language.
|
|
7
7
|
|
|
8
8
|
## Features
|
|
9
9
|
|
|
@@ -24,7 +24,7 @@ Or use with npx:
|
|
|
24
24
|
npx @domainlang/cli --help
|
|
25
25
|
```
|
|
26
26
|
|
|
27
|
-
## Quick
|
|
27
|
+
## Quick start
|
|
28
28
|
|
|
29
29
|
```bash
|
|
30
30
|
# Validate a DomainLang model
|
|
@@ -39,7 +39,7 @@ domain-lang-cli model tree
|
|
|
39
39
|
|
|
40
40
|
## Commands
|
|
41
41
|
|
|
42
|
-
### Dependency
|
|
42
|
+
### Dependency management
|
|
43
43
|
|
|
44
44
|
DomainLang supports a git-native model dependency workflow via `model.yaml` and a lock file.
|
|
45
45
|
|
|
@@ -55,7 +55,7 @@ domain-lang-cli model remove <name>
|
|
|
55
55
|
domain-lang-cli install
|
|
56
56
|
```
|
|
57
57
|
|
|
58
|
-
### Analysis
|
|
58
|
+
### Analysis and validation
|
|
59
59
|
|
|
60
60
|
```bash
|
|
61
61
|
# Validate model structure and references
|
|
@@ -80,23 +80,23 @@ domain-lang-cli cache-clear
|
|
|
80
80
|
domain-lang-cli --help
|
|
81
81
|
```
|
|
82
82
|
|
|
83
|
-
### Code
|
|
83
|
+
### Code generation (experimental)
|
|
84
84
|
|
|
85
85
|
```bash
|
|
86
86
|
# Generate code from a model (currently produces stub output)
|
|
87
87
|
domain-lang-cli generate <file>
|
|
88
88
|
```
|
|
89
89
|
|
|
90
|
-
## Related
|
|
90
|
+
## Related packages
|
|
91
91
|
|
|
92
92
|
- [@domainlang/language](https://www.npmjs.com/package/@domainlang/language) - Core language library and SDK
|
|
93
93
|
- [DomainLang VS Code Extension](https://marketplace.visualstudio.com/items?itemName=thinkability.domain-lang) - IDE support with syntax highlighting and validation
|
|
94
94
|
|
|
95
95
|
## Documentation
|
|
96
96
|
|
|
97
|
-
- [Getting Started](https://
|
|
98
|
-
- [Language Reference](https://
|
|
99
|
-
- [Quick Reference](https://
|
|
97
|
+
- [Getting Started](https://domainlang.net/guide/getting-started)
|
|
98
|
+
- [Language Reference](https://domainlang.net/reference/language)
|
|
99
|
+
- [Quick Reference](https://domainlang.net/reference/quick-reference)
|
|
100
100
|
|
|
101
101
|
## License
|
|
102
102
|
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@domainlang/cli",
|
|
3
3
|
"displayName": "DomainLang CLI",
|
|
4
4
|
"description": "Command-line interface for DomainLang - validate, analyze, and manage Domain-Driven Design models",
|
|
5
|
-
"version": "0.
|
|
5
|
+
"version": "0.4.0",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"author": "larsbaunwall",
|
|
8
8
|
"license": "Apache-2.0",
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"build:clean": "npm run clean && npm run build"
|
|
47
47
|
},
|
|
48
48
|
"dependencies": {
|
|
49
|
-
"@domainlang/language": "0.1.
|
|
49
|
+
"@domainlang/language": "0.1.0",
|
|
50
50
|
"chalk": "~5.3.0",
|
|
51
51
|
"commander": "~11.1.0"
|
|
52
52
|
},
|