Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
If you create a lot of recipes, you might find yourself not remembering all of the options available in the front matter. I do a lot and I keep having to look them up so I created this tool to help. I've polished it up a little so it's more useful to other folk too.
Right now it can create recipe files for you and populate them with the known options so you have a reference to hand when you're writing them.
Basic usage:
If you made a mistake you can also call:
Deletion is the only time it will touch an existing file. It won't clobber existing files so if you call it with
new
on an existing recipe it will exit with a message.The created file's contents come from a template file which should be kept up to date as more options, such as books, chefs, timings, etc. are added. This then acts as a form of documentation for the user, right where they need it.
I've yet to add
components
but it's been written to handle any number of types. It was written in ruby as jekyll is ruby so it's likely to be on the local system.Sorry @clarklab, more of my rubbish for you 😜