File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -13,17 +13,19 @@ Environment variable composition and activation layer for tools and processes.
1313- Shared, policy-driven environments
1414- Inspectable and deterministic behavior
1515
16- envstack focuses on ** configuration and activation** , not dependency resolution.
16+ envstack environments are layered hierarchically, with later layers inheriting
17+ from and overriding earlier ones.
1718
1819``` mermaid
19- flowchart TD
20+ flowchart LR
2021 default[default.env] --> prod[prod.env]
2122 prod --> dev[dev.env]
2223 prod --> test[test.env]
2324```
2425
2526Later layers override earlier ones. Use envstack -t VAR to trace where a value
26- comes from.
27+ comes from. envstack focuses on ** configuration and activation** , not dependency
28+ resolution.
2729
2830For the core concepts, see ` docs/index.md ` .
2931
Original file line number Diff line number Diff line change @@ -14,11 +14,11 @@ This is the simplest envstack use case and a direct evolution of a `.env` file.
1414
1515``` mermaid
1616flowchart LR
17- base [default.env] --> local[local.env]
17+ default [default.env] --> local[local.env]
1818```
1919
2020Typical characteristics:
21- - One base environment
21+ - One default base environment
2222- A small number of variables
2323- Defaults that can be overridden externally
2424
@@ -38,8 +38,8 @@ A common pattern is to define a shared base environment and layer environment
3838tiers on top (e.g. dev, prod, CI).
3939
4040``` mermaid
41- flowchart TD
42- base [default.env] --> prod[prod.env]
41+ flowchart LR
42+ default [default.env] --> prod[prod.env]
4343 prod --> dev[dev.env]
4444 prod --> test[test.env]
4545```
@@ -66,7 +66,7 @@ envstack models this naturally through inheritance and layering.
6666
6767``` mermaid
6868flowchart LR
69- base [default.env] --> prod[prod.env]
69+ default [default.env] --> prod[prod.env]
7070 prod -. include .-> project[project.env]
7171```
7272
You can’t perform that action at this time.
0 commit comments