Set additional information on command's 'app'

For completeness
This commit is contained in:
jszwedko 2015-05-03 18:42:21 -07:00
parent 4ee3fafcf8
commit a889873af5

View File

@ -157,6 +157,12 @@ func (c Command) startApp(ctx *Context) error {
app.Commands = c.Subcommands app.Commands = c.Subcommands
app.Flags = c.Flags app.Flags = c.Flags
app.HideHelp = c.HideHelp app.HideHelp = c.HideHelp
app.Version = ctx.App.Version
app.HideVersion = ctx.App.HideVersion
app.Compiled = ctx.App.Compiled
app.Author = ctx.App.Author
app.Email = ctx.App.Email
app.Writer = ctx.App.Writer app.Writer = ctx.App.Writer
// bash completion // bash completion