File tree 2 files changed +6
-4
lines changed
2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -348,8 +348,9 @@ func (a *App) RunAndExitOnError()
348
348
code in the cli.ExitCoder
349
349
350
350
func (a *App) RunAsSubcommand(ctx *Context) (err error)
351
- This is a stub function to keep public API unchanged from old code No one
352
- should really use this. Always use a.Run to execute app
351
+ This is a stub function to keep public API unchanged from old code
352
+
353
+ Deprecated: use App.Run or App.RunContext
353
354
354
355
func (a *App) RunContext(ctx context.Context, arguments []string) (err error)
355
356
RunContext is like Run except it takes a Context that will be passed to
Original file line number Diff line number Diff line change @@ -348,8 +348,9 @@ func (a *App) RunAndExitOnError()
348
348
code in the cli.ExitCoder
349
349
350
350
func (a *App) RunAsSubcommand(ctx *Context) (err error)
351
- This is a stub function to keep public API unchanged from old code No one
352
- should really use this. Always use a.Run to execute app
351
+ This is a stub function to keep public API unchanged from old code
352
+
353
+ Deprecated: use App.Run or App.RunContext
353
354
354
355
func (a *App) RunContext(ctx context.Context, arguments []string) (err error)
355
356
RunContext is like Run except it takes a Context that will be passed to
You can’t perform that action at this time.
0 commit comments