5
5
)
6
6
7
7
var (
8
- evalFlagFormat string
9
- evalConfigFile string
8
+ manifestFlagFormat string
9
+ manifestConfigFile string
10
10
flagManifestDestination string
11
11
)
12
12
@@ -18,7 +18,7 @@ func NewManifestCmd() *cobra.Command {
18
18
"⚠️ note that this is an experimental feature and we may change this command line without warning." ,
19
19
20
20
RunE : func (cmd * cobra.Command , args []string ) error {
21
- m , _ := NewManifest (evalConfigFile , evalFlagFormat , flagManifestDestination )
21
+ m , _ := NewManifest (manifestConfigFile , manifestFlagFormat , flagManifestDestination )
22
22
output , err := m .Generate ()
23
23
if err != nil {
24
24
cmd .SilenceUsage = true
@@ -28,9 +28,9 @@ func NewManifestCmd() *cobra.Command {
28
28
return nil
29
29
},
30
30
}
31
- manifestCmd .Flags ().StringVarP (& evalFlagFormat ,
31
+ manifestCmd .Flags ().StringVarP (& manifestFlagFormat ,
32
32
"format" , "f" , "yaml" , "Format of your input file (YAML, JSON or TOML)" )
33
- manifestCmd .Flags ().StringVarP (& evalConfigFile ,
33
+ manifestCmd .Flags ().StringVarP (& manifestConfigFile ,
34
34
"config" , "c" , "" , "Location of your GO Feature Flag local configuration file" )
35
35
manifestCmd .Flags ().StringVar (& flagManifestDestination ,
36
36
"flag_manifest_destination" , "" , "Destination of your flag manifest file. " +
0 commit comments