Merge remote-tracking branch 'origin/v1' into merging-from-v1
This commit is contained in:
4
app.go
4
app.go
@@ -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
|
||||
|
Reference in New Issue
Block a user