It'd be nice to use reusable recipes directly (outside of some other recipe) too. For example, one could use this recipe to add a GitHub workflow for auto-publishing their package.
A use command perhaps would be nice. It could emulate what use command does inside of recipes: create a temporary folder, clone the recipe into the temp folder, run it, and clean the temp folder.
tmplr use loreanvictor/npm-autopublish-recipe
Implementation should also be rather straightforward, since a virtual recipe could do the trick. It should also support working directories.
It'd be nice to use reusable recipes directly (outside of some other recipe) too. For example, one could use this recipe to add a GitHub workflow for auto-publishing their package.
A
use
command perhaps would be nice. It could emulate whatuse
command does inside of recipes: create a temporary folder, clone the recipe into the temp folder, run it, and clean the temp folder.Implementation should also be rather straightforward, since a virtual recipe could do the trick. It should also support working directories.