Merge remote-tracking branch 'origin/v1' into merging-from-v1

This commit is contained in:
Dan Buch
2016-07-14 17:50:16 -04:00
16 changed files with 1198 additions and 712 deletions

4
app.go
View File

@@ -149,6 +149,10 @@ func (a *App) Setup() {
a.Categories.AddCommand(command.Category, command)
}
sort.Sort(a.Categories.(*commandCategories))
if a.Metadata == nil {
a.Metadata = make(map[string]interface{})
}
}
// Run is the entry point to the cli app. Parses the arguments slice and routes