Open mbrown9764 opened 11 years ago
FYI, the new flag option you're looking for is available now via recipetool:
$ recipetool newappend -e /path/to/layer recipe-name
Will spawn a text editor editing the recipe and the new bbappend.
I use that more often than bb-edit
nowadays, but bb-edit is still handy to take a quick look at the recipe and its include files when I have no need for a new bbappend. I do think it's worthwhile to still add the recipe-files command and use it for bb-edit, so am leaving this issue open for that.
This would allow a user to simply see recipe file locations, as well as enable the user to do something like: gvim $(bb recipe-files foo)
This allows more flexibility with the editor and how it's opened.
Another possible option: a new flag like "-a this-layer" to bb edit that will automatically create the properly named bbappend file under the requested layer and add it to the editor. This would be useful for the new sub-command 'recipe-files' as well.