Documentation ¶
Overview ¶
Package cli provides a CLI UI for the gorram command line tool.
Index ¶
Constants ¶
View Source
const CacheEnv = "GORRAM_CACHE"
CacheEnv is the environment variable that users may set to change the location where gorram stores its script files.
Variables ¶
This section is empty.
Functions ¶
func ParseAndRun ¶
ParseAndRun parses the environment to create a run.Command and runs it. It returns the code that should be used for os.Exit.
Types ¶
type OSEnv ¶
type OSEnv struct { Args []string Stderr io.Writer Stdout io.Writer Stdin io.Reader Env map[string]string }
OSEnv encapsulates the gorram environment.
Click to show internal directories.
Click to hide internal directories.