You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
where in this example https://gist.github.com/chevdor/050df6...c6e4207 points to a file containing all the fields. This could be a local file or a url.
Since the template is defined in toml, a first implementation could use toml as well.
json can be helpful thanks to the pre/re-processing that can be done using jq.
That allows for instance, storing several sets of values in a single json map for instance:
I also find this useful for populating values that are bound to me personally. For example when using your CLI template I could use a file that holds my name and email and then provide it for every templating run to create a new project so I only would need to provide the changing params.
The ability to pass the variables using an input file would be great.
That means a user could run (for instance):
or
where in this example
https://gist.github.com/chevdor/050df6...c6e4207
points to a file containing all the fields. This could be a local file or a url.Since the template is defined in toml, a first implementation could use toml as well.
json can be helpful thanks to the pre/re-processing that can be done using
jq
.That allows for instance, storing several sets of values in a single json map for instance:
where the json file could be something like:
That allows one-liners to bootstrap projects without any user input and with more flexibility than just using the default values from the template.
The text was updated successfully, but these errors were encountered: