Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Main ¶
func Main(env *Environment) int
Types ¶
type Environment ¶
type Environment struct { Args []string Stderr io.Writer Dir string Env []string // Fs is for output only. Go tooling invoked under hood, that read real files. Fs afero.Fs }
func RealEnvironment ¶
func RealEnvironment() *Environment
func (*Environment) Getenv ¶
func (e *Environment) Getenv(key string) string
Click to show internal directories.
Click to hide internal directories.