Commit 50220270
50220270922dMerged
Sviatoslav Dumchenko <[email protected]> ยท 3 years ago ยท 1 file ยท ~1 modified
Description
chore(cli): tiny refactor templater usage generator
Details
- Commit
- 50220270922d
- Parent
- faed54228566
pkg/action/flags.gomodifiedView file
@@ -1,6 +1,8 @@
11
package action22
33
import (4+
"fmt"5+
46
"github.com/helmwave/helmwave/pkg/plan"57
"github.com/helmwave/helmwave/pkg/template"68
"github.com/urfave/cli/v2"@@ -101,7 +103,7 @@
101103
return &cli.StringFlag{102104
Name: "templater",103105
Value: template.TemplaterSprig,104-
Usage: "select template engine: [ sprig | gomplate ]",106+
Usage: fmt.Sprintf("select template engine: [ %s | %s ]", template.TemplaterSprig, template.TemplaterGomplate),105107
EnvVars: []string{"HELMWAVE_TEMPLATER", "HELMWAVE_TEMPLATE_ENGINE"},106108
Destination: v,107109
}