Open RobLoach opened 2 months ago
What is your use case for this? I'm not opposed to adding this, but if it's something that is very niche then it might be easier to do this with a shell script for example.
Did a quick search, and found two cases in the org where it may be helpful...
tinted-sublime-text/themes.py
: Be able to create the THEMES
array dynamically, rather than hard-coding it.tinty/schemes.txt
: Use builder-rust to build out the schemes.txt so we don't have to update it manually ourselves.For my usage, been considering having a dynamic index to list them in C for https://robloach.github.io/nuklear_base16/
A shell script could certainly do it, and likely what has been used. But would be nice to officiate it.
Thanks for looking into it. Yeah I agree that this would be useful. I'm not 100% sure if it will be accepted into the builder spec, but I'm willing to add it to tinted-builder-rust as an extra feature if that's the case. Would you be willing to help figure out the details of the feature?
I could have a look at an implementation. You're right about it being out of the spec.
While tinted-builder-rust does process all the mustache templates, is there a method in order to create an index file for all of the templates?
For example...
index.mustache
Result