File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed
Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -24,16 +24,22 @@ CALM Patterns pre-define the required structure of an architecture. They specify
2424** One Pattern = Two Powers:**
2525
2626** Power 1 - Generation:**
27+
28+ Uses a pattern to create an architecture scaffold with all required nodes and relationships.
29+
30+ If you have a pattern ` my-pattern.json ` , to turn it into a new architecture file ` new-architecture.json ` you would run:
2731``` bash
2832calm generate -p my-pattern.json -o new-architecture.json
2933```
30- Creates an architecture scaffold with all required nodes and relationships.
3134
3235** Power 2 - Validation:**
36+
37+ Check that an architecture has the required structure, according to a pattern.
38+
39+ If you have an architecture ` existing-architecture.json ` and wish to validate it against the pattern ` my-pattern.json ` , you would run:
3340``` bash
3441calm validate -p my-pattern.json -a existing-architecture.json
3542```
36- Checks that an architecture has the required structure.
3743
3844### 3. Understand How Patterns Work
3945
You can’t perform that action at this time.
0 commit comments