Add a bit more documentation
This commit is contained in:
parent
538742687b
commit
827da610b4
3
app.go
3
app.go
@ -83,7 +83,8 @@ type App struct {
|
|||||||
Writer io.Writer
|
Writer io.Writer
|
||||||
// ErrWriter writes error output
|
// ErrWriter writes error output
|
||||||
ErrWriter io.Writer
|
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
|
ExitErrHandler ExitErrHandlerFunc
|
||||||
// Other custom info
|
// Other custom info
|
||||||
Metadata map[string]interface{}
|
Metadata map[string]interface{}
|
||||||
|
Loading…
Reference in New Issue
Block a user