-
Notifications
You must be signed in to change notification settings - Fork 116
Closed
Description
Good morning
Thanks a lot for this really great and useful module, it's a little difficult to work with the generated files, but it's very helpful for own projects.
Unfortunately, Plaster has a very big issue which would be very easy to solve.
If one would like to contribute to complex foreign projects, then it very often takes a long time to find the source template that belongs to a generated file: We have to grep for similar text, study code and understand the logic - just to get the right template.
Therefore, it would be great if
- Plaster could offer a Variable which references the exact path of the used template, for example,
PLASTER_TemplateSourceorPLASTER_TemplateFileName(…Sourceis more generic and could later be extended for generated Text which is not based on a Template but just on Code) - Plaster recommends as best practices to always use this Variable in generated files.
This could include the necessary hint in the generated files:
MyFile.ps1
# Generated by Plaster
# Template: xxx
At least for me, it would save hours.
Thanks a lot, kind regards,
Thomas
Metadata
Metadata
Assignees
Labels
No labels