Skip to content

Commit cba0aa0

Browse files
committed
doc: rename ambigous 'Subcmd layer' to 'UI layer'
1 parent 089f65b commit cba0aa0

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

_docs/layer.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11

22
## Layered architecture
33

4-
The volt commands like `volt get` which may modify lock.json, config.toml([#221](https://github.com/vim-volt/volt/issues/221)),
4+
The volt commands like `volt get` which may modify lock.json, config.toml,
55
filesystem, are executed in several steps:
66

7-
1. (Subcmd layer): pass subcommand arguments, lock.json & config.toml structure
7+
1. (UI layer): pass subcommand arguments, lock.json & config.toml structure
88
to Gateway layer
99
2. (Gateway layer): Create an AST according to given information
1010
* This layer cannot touch filesystem, because it makes unit testing difficult
@@ -13,10 +13,10 @@ filesystem, are executed in several steps:
1313
Below is the dependency graph:
1414

1515
```
16-
Subcmd --> Gateway --> Usecase
16+
UI --> Gateway --> Usecase
1717
```
1818

19-
* Subcmd only depends Gateway
20-
* Gateway doesn't know Subcmd
19+
* UI only depends Gateway
20+
* Gateway doesn't know UI
2121
* Gateway only depends Usecase
2222
* Usecase doesn't know Gateway

0 commit comments

Comments
 (0)