app

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2021 License: MIT Imports: 23 Imported by: 0

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

Jump to

Keyboard shortcuts

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