calebmer / accelerate

Accelerate back and forth through time for your database or other in-place systems
MIT License
5 stars 0 forks source link

Mustache in all motions #4

Open calebmer opened 8 years ago

calebmer commented 8 years ago

This is the second feature request:

Can we allow mustache in all motion files? We would need a configuration file in the motions directory (maybe mustache.json) which would hold the data structure and a path to a partials directory. This would be really helpful, especially with super complicated and repetitive SQL.

Mustache would only be enabled in motion directories containing a mustache configuration file.

Here is the mustache crate.

calebmer commented 8 years ago

The mustache.json file doesn‘t have to be JSON (although I think I would prefer it is). It could be TOML or YML as well. My second choice would be YML.