Skip to content

Commit 72c85dc

Browse files
rename const
Signed-off-by: Thomas Poignant <[email protected]>
1 parent 1e34bd7 commit 72c85dc

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

cmd/cli/generate/manifest/manifest_cmd.go

+5-5
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ import (
55
)
66

77
var (
8-
evalFlagFormat string
9-
evalConfigFile string
8+
manifestFlagFormat string
9+
manifestConfigFile string
1010
flagManifestDestination string
1111
)
1212

@@ -18,7 +18,7 @@ func NewManifestCmd() *cobra.Command {
1818
"⚠️ note that this is an experimental feature and we may change this command line without warning.",
1919

2020
RunE: func(cmd *cobra.Command, args []string) error {
21-
m, _ := NewManifest(evalConfigFile, evalFlagFormat, flagManifestDestination)
21+
m, _ := NewManifest(manifestConfigFile, manifestFlagFormat, flagManifestDestination)
2222
output, err := m.Generate()
2323
if err != nil {
2424
cmd.SilenceUsage = true
@@ -28,9 +28,9 @@ func NewManifestCmd() *cobra.Command {
2828
return nil
2929
},
3030
}
31-
manifestCmd.Flags().StringVarP(&evalFlagFormat,
31+
manifestCmd.Flags().StringVarP(&manifestFlagFormat,
3232
"format", "f", "yaml", "Format of your input file (YAML, JSON or TOML)")
33-
manifestCmd.Flags().StringVarP(&evalConfigFile,
33+
manifestCmd.Flags().StringVarP(&manifestConfigFile,
3434
"config", "c", "", "Location of your GO Feature Flag local configuration file")
3535
manifestCmd.Flags().StringVar(&flagManifestDestination,
3636
"flag_manifest_destination", "", "Destination of your flag manifest file. "+

0 commit comments

Comments
 (0)