Add a bit more documentation

This commit is contained in:
Tyler Davis 2017-04-25 09:33:54 -07:00 committed by Tyler Davis
parent 538742687b
commit 827da610b4

3
app.go
View File

@ -83,7 +83,8 @@ type App struct {
Writer io.Writer
// ErrWriter writes error output
ErrWriter io.Writer
// Execute this function to handle ExitErrors
// Execute this function to handle ExitErrors. If not provided, HandleExitCoder is provided to
// function as a default, so this is optional.
ExitErrHandler ExitErrHandlerFunc
// Other custom info
Metadata map[string]interface{}