Closed lyashevska closed 2 months ago
We're using a regex to validate the package name: https://github.com/abelsiqueira/BestieTemplate.jl/blob/b1114d039578dbd5a132a8955c87352e6371448d/copier.yml#L9 Maybe it's helpful, maybe it's overkill.
@abelsiqueira thanks, this is great indeed. We also use it for some of the variables.
I thinks the original functionality was to ensure that any double/single quotes are escaped. Do we want to allow this? I guess it is debatable.
This was implemented via cookicutter hooks like so:
"full_name": cookiecutter.full_name.replace('\"', '\\\"'),
Closing as addressed via #414
This can be used for inspiration