lotus-provider: EnvVar for layers

This commit is contained in:
Łukasz Magiera 2024-02-20 17:02:46 +01:00
parent 4808b49090
commit 8f2931072e

View File

@ -125,9 +125,10 @@ func main() {
Value: "5433", Value: "5433",
}, },
&cli.StringSliceFlag{ &cli.StringSliceFlag{
Name: "layers", Name: "layers",
Usage: "list of layers to be interpreted (atop defaults). Default: base", EnvVars: []string{"CURIO_LAYERS"},
Value: cli.NewStringSlice("base"), Usage: "list of layers to be interpreted (atop defaults). Default: base",
Value: cli.NewStringSlice("base"),
}, },
&cli.StringFlag{ &cli.StringFlag{
Name: deps.FlagRepoPath, Name: deps.FlagRepoPath,