Documentation ¶ Index ¶ func Do(args []string, stdin io.Reader, stdout io.Writer, stderr io.Writer) int func Generate(ctx context.Context, e Env, dir, filename string, stderr io.Writer) (map[string]string, error) type Env func ParseEnv(c *cobra.Command) Env Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Do ¶ func Do(args []string, stdin io.Reader, stdout io.Writer, stderr io.Writer) int Do runs the command logic. func Generate ¶ func Generate(ctx context.Context, e Env, dir, filename string, stderr io.Writer) (map[string]string, error) Types ¶ type Env ¶ type Env struct { ExperimentalFeatures bool } func ParseEnv ¶ func ParseEnv(c *cobra.Command) Env Source Files ¶ View all Source files cmd.go generate.go Click to show internal directories. Click to hide internal directories.