go/pkg/mod/github.com/mmcloughlin/[email protected]/build/cli.go

type Config

// Main is the standard main function for an avo program. This extracts the
// result from the build Context (logging and exiting on error), and performs
// configured passes.
func Main(cfg *Config, context *Context) int {}

type Flags

// NewFlags initializes avo flags for the given FlagSet.
func NewFlags(fs *flag.FlagSet) *Flags {}

// Config builds a configuration object based on flag values.
func (f *Flags) Config() *Config {}

type outputValue

func newOutputValue(dflt io.WriteCloser) *outputValue {}

func (o *outputValue) String() string {}

func (o *outputValue) Set(s string) error {}

type printerValue

func newPrinterValue(b printer.Builder, dflt io.WriteCloser) *printerValue {}

func (p *printerValue) Build(cfg printer.Config) pass.Interface {}

type nopwritecloser

func (nopwritecloser) Close() error {}