Skip to content

Commit 0d91005

Browse files
committed
fix: add missing cli flags
1 parent 5727cfe commit 0d91005

File tree

1 file changed

+17
-3
lines changed

1 file changed

+17
-3
lines changed

cmd/victor/main.go

Lines changed: 17 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -76,12 +76,26 @@ func main() {
7676
Value: ".",
7777
EnvVars: []string{"PLUGIN_CONTEXT"},
7878
},
79+
&cli.StringFlag{
80+
Name: "server",
81+
Category: catPulumi,
82+
Usage: "Where to download the Pulumi plugin resources. If set, overrides the online default mode of Pulumi.",
83+
Required: false,
84+
EnvVars: []string{"PLUGIN_SERVER"},
85+
},
7986
&cli.StringSliceFlag{
80-
Name: "install",
87+
Name: "resources",
88+
Category: catPulumi,
89+
Usage: "List of Pulumi plugin resources (<name> <version>) to install before performing the update.",
90+
Required: false,
91+
EnvVars: []string{"PLUGIN_RESOURCES"},
92+
},
93+
&cli.StringFlag{
94+
Name: "outputs",
8195
Category: catPulumi,
82-
Usage: "List of Pulumi plugins to install before performing the update.",
96+
Usage: "Where to write the Pulumi stack outputs. If set to \"-\" will write to stdout, else to the given filename.",
8397
Required: false,
84-
EnvVars: []string{"PLUGIN_INSTALL"},
98+
EnvVars: []string{"PLUGIN_OUTPUTS"},
8599
},
86100
},
87101
Action: run,

0 commit comments

Comments
 (0)