Update docs
This commit is contained in:
parent
00afca42c8
commit
5100c9d4e9
@ -347,6 +347,10 @@ func (a *App) RunAndExitOnError()
|
||||
to cli.App.Run. This will cause the application to exit with the given error
|
||||
code in the cli.ExitCoder
|
||||
|
||||
func (a *App) RunAsSubcommand(ctx *Context) (err error)
|
||||
This is a stub function to keep public API unchanged from old code No one
|
||||
should really use this. Always use a.Run to execute app
|
||||
|
||||
func (a *App) RunContext(ctx context.Context, arguments []string) (err error)
|
||||
RunContext is like Run except it takes a Context that will be passed to
|
||||
its commands and sub-commands. Through this, you can propagate timeouts and
|
||||
|
4
testdata/godoc-v2.x.txt
vendored
4
testdata/godoc-v2.x.txt
vendored
@ -347,6 +347,10 @@ func (a *App) RunAndExitOnError()
|
||||
to cli.App.Run. This will cause the application to exit with the given error
|
||||
code in the cli.ExitCoder
|
||||
|
||||
func (a *App) RunAsSubcommand(ctx *Context) (err error)
|
||||
This is a stub function to keep public API unchanged from old code No one
|
||||
should really use this. Always use a.Run to execute app
|
||||
|
||||
func (a *App) RunContext(ctx context.Context, arguments []string) (err error)
|
||||
RunContext is like Run except it takes a Context that will be passed to
|
||||
its commands and sub-commands. Through this, you can propagate timeouts and
|
||||
|
Loading…
Reference in New Issue
Block a user