forked from toolshed/abra
feat: recipe generate: load category and features
This commit is contained in:
@ -165,6 +165,8 @@ A new catalogue copy can be published to the recipes repository by passing the
|
||||
logrus.Fatal(err)
|
||||
}
|
||||
|
||||
features, category, err := catalogue.GetRecipeFeaturesAndCategory(recipeMeta.Name)
|
||||
|
||||
catl[recipeMeta.Name] = catalogue.RecipeMeta{
|
||||
Name: recipeMeta.Name,
|
||||
Repository: recipeMeta.CloneURL,
|
||||
@ -173,8 +175,8 @@ A new catalogue copy can be published to the recipes repository by passing the
|
||||
Description: recipeMeta.Description,
|
||||
Website: recipeMeta.Website,
|
||||
Versions: versions,
|
||||
// Category: ..., // FIXME: parse & load
|
||||
// Features: ..., // FIXME: parse & load
|
||||
Category: category,
|
||||
Features: features,
|
||||
}
|
||||
catlBar.Add(1)
|
||||
}
|
||||
|
Reference in New Issue
Block a user