-
-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
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.
Metadata
Metadata
Assignees
Labels
No labels