Rich-Harris / degit

Straightforward project scaffolding
MIT License
6.93k stars 242 forks source link

Implements #364 #365

Open Tythos opened 8 months ago

Tythos commented 8 months ago

364 suggestion implemented with several small adjustments:

An example working degit.json can be seen here:

https://github.com/Tythos/degit-template-zigexe/blob/master/degit.json

In this example, all instances of the pattern r/{{project_name}}/ will be replaced by the value of the environmental variable $PROJECT_NAME. (This makes it easy to pass/forward values from other calls, or inline within the same shell command, without adjusting any of the argument parsing behavior. Documentation to README has also been added to reflect this usage.