Skip to content

Commit 73640d1

Browse files
Merge pull request #1966 from finos/fix/markscott-ms-patch-1
2 parents cf509f2 + 542b21c commit 73640d1

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

advent-of-calm/day-17.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff 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
2832
calm 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
3441
calm 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

0 commit comments

Comments
 (0)