internal

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2019 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewExecEnv

func NewExecEnv(
	args []string,
	stdin io.Reader,
	stdout io.Writer,
	stderr io.Writer,
	environ []string,
	start time.Time,
) (*cli.ExecEnv, error)

NewExecEnv returns a new ExecEnv.

Args should not include the application name.

func NewOSRunEnv

func NewOSRunEnv() *cli.RunEnv

NewOSRunEnv returns a new OS RunEnv.

func SetRunEnvDefaults

func SetRunEnvDefaults(runEnv *cli.RunEnv)

SetRunEnvDefaults sets the defaults for the RunEnv.

Types

This section is empty.

Jump to

Keyboard shortcuts

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