Eugene Ghanizadeh
Eugene Ghanizadeh
ok so `exists` (alongside all other path related commands and expressions) basically ignore directories (generally recipes can only see files and not directories). if that is the issue here, it...
> Seems strange that exists ignores directories while remove doesn't, since you may want to warn the user about removing an existing directory before actually doing it. Good point. I'll...
so there was a discrepancy between the behaviour of `tmplr local:...` and `degit` command, and between `tmplr use local:...` and `use` command. The behaviour is now synchronised on `0.3.2` onwards....
> Thanks for digging into it. Is there a better way of running tmplr from a node script? Can the node API be used directly? Kind of. It wouldn't solve...
from v0.3.5, at least in some situations and in some operating systems, temp directories are also cleaned up when the CLI process is killed (for example with `SIGINT`). note that...
Wouldn't `remove: **/*.tmplr.*` achieve the same thing? In any case, such files aren't particularly _copied_ over, they are cloned with the rest of the files and would need to be...
this [already is possible](https://stackblitz.com/edit/stackblitz-starters-npswjp?file=vite.config.tmpl.js&view=editor), though not particularly convenient: ```yml # .tmplr.yml steps: - if: prompt: Include vite-plugin-sass-dts? choices: - Yes - No: '' steps: - read: vite_sass_dts_import eval: 'import sassDts...
perhaps we should try switching to tiged instead of degit. I will take a look at this issue and the potential solution when I get the time, but if you...
ok I don't know why this issue was closed since support for subgroups wasn't still added to tmplr. in any case, [support for it is now added](https://github.com/loreanvictor/tmplr/commit/c091010d955e9d182956d85b4d4731ee481efa9b) in version 0.3.3....
considering #4 , perhaps it is useful to have the input value be an expression instead of a file path: ```yml prepend: "# Hallo!" to: README.md ``` and have the...