Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Cmd = &cobra.Command{ Use: "go", Short: "Generate Golang flag accessors for OpenFeature.", Long: `Generate Golang flag accessors for OpenFeature.`, RunE: func(cmd *cobra.Command, args []string) error { params := golang.Params{ GoPackage: viper.GetString(flagkeys.GoPackageName), } gen := golang.NewGenerator(params) err := generate.CreateFlagAccessors(gen) return err }, }
Cmd for `generate“ command, handling code generation for flag accessors
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.