File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 1
1
2
2
## Layered architecture
3
3
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,
5
5
filesystem, are executed in several steps:
6
6
7
- 1 . (Subcmd layer): pass subcommand arguments, lock.json & config.toml structure
7
+ 1 . (UI layer): pass subcommand arguments, lock.json & config.toml structure
8
8
to Gateway layer
9
9
2 . (Gateway layer): Create an AST according to given information
10
10
* This layer cannot touch filesystem, because it makes unit testing difficult
@@ -13,10 +13,10 @@ filesystem, are executed in several steps:
13
13
Below is the dependency graph:
14
14
15
15
```
16
- Subcmd --> Gateway --> Usecase
16
+ UI --> Gateway --> Usecase
17
17
```
18
18
19
- * Subcmd only depends Gateway
20
- * Gateway doesn't know Subcmd
19
+ * UI only depends Gateway
20
+ * Gateway doesn't know UI
21
21
* Gateway only depends Usecase
22
22
* Usecase doesn't know Gateway
You can’t perform that action at this time.
0 commit comments