feature - let file names have variables
since you can use the build command on directories, it would be very useful to be able to automatically name the files in the directories according to the variable
example:
templates/
> $id-template.json
> $id-template.toml
$ npx @rose-pine/build -t templates/ -o output/
output/
> main/
>> rose-pine-template.json
>> rose-pine-template.toml
> dawn/
>> rose-pine-dawn-template.json
>> rose-pine-dawn-template.toml
> moon/
>> rose-pine-moon-template.json
>> rose-pine-moon-template.toml
an additional thing would be to let the template folder also have variables in its name
example:
$id-template/
$ npx @rose-pine/build -t templates/ -o output/
output/
> rose-pine-template/
> rose-pine-dawn-template
> rose-pine-moon-template
as it stands right now the files simply keep their original name.
If folders per variant aren't necessary, I'd recommend:
npx @rose-pine/build -t templates/file.json
npx @rose-pine/build -t templates/file.toml
Either way, I'd accept a PR for this :)
Side note: we have https://github.com/rose-pine/rose-pine-bloom which may one day replace this repo so perhaps the feature should go there?
i didn't send these feature requests to bloom because at the moment it seems quite lifeless. anyways guess that'll have to do unless i wanna write javascript 😄
Yea bloom was a fun project to learn go, but isn't used at the moment (to my knowledge). If you are familiar and prefer go, feel free to submit PRs there. I don't mind attempting to work on this and/or #12 but not sure when I'll actually get around to it.
i'm not familiar with go either but i might go ahead and read up a bit on my javascript knowledge so i can implement this or #12 here some time soon this one doesnt seem too hard, accents seem a bit harder but still manageable