@@ -15,9 +15,7 @@ var helmCmd = &cobra.Command{
15
15
- values.yaml is created or updated with the values from settings which are
16
16
actually used by the compose file.
17
17
- templates/stack.yaml is created, with a stack template extracted from the app's
18
- docker-compose.yml. If the --render option is used, the docker-compose.yml will
19
- be rendered instead of exported as a template. Note that template export will
20
- not work if you use go templating, only variable substitution is supported.` ,
18
+ docker-compose.yml.` ,
21
19
Args : cli .RequiresMaxArgs (1 ),
22
20
RunE : func (cmd * cobra.Command , args []string ) error {
23
21
d , err := parseSettings (helmEnv )
@@ -38,8 +36,10 @@ func init() {
38
36
if internal .Experimental == "on" {
39
37
helmCmd .Flags ().StringArrayVarP (& helmComposeFiles , "compose-files" , "c" , []string {}, "Override Compose files" )
40
38
helmCmd .Use += " [-c <compose-files>...]"
39
+ helmCmd .Flags ().BoolVarP (& helmRender , "render" , "r" , false , "Render the template instead of exporting it" )
40
+ helmCmd .Long += ` If the --render option is used, the docker-compose.yml will
41
+ be rendered instead of exported as a template.`
41
42
}
42
43
helmCmd .Flags ().StringArrayVarP (& helmSettingsFile , "settings-files" , "f" , []string {}, "Override settings files" )
43
44
helmCmd .Flags ().StringArrayVarP (& helmEnv , "set" , "s" , []string {}, "Override settings values" )
44
- helmCmd .Flags ().BoolVarP (& helmRender , "render" , "r" , false , "Render the template instead of exporting it" )
45
45
}
0 commit comments