cmd

package
v0.0.0-...-95a1ed4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 7, 2022 License: MIT Imports: 31 Imported by: 0

Documentation

Index

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
	DryRun               bool
}

func ParseEnv

func ParseEnv(c *cobra.Command) Env

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL