Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implements #364 #365

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Implements #364 #365

wants to merge 3 commits into from

Conversation

Tythos
Copy link

@Tythos Tythos commented Dec 15, 2023

#364 suggestion implemented with several small adjustments:

  • arguments are not used as the source of replacement value definitions; they are instead evaluated against environmental variables (from the user runtime) identified by the replacement string in the action definition.

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant