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

keep variables value between 2 apply #510

Open
davidB opened this issue Apr 24, 2022 · 1 comment
Open

keep variables value between 2 apply #510

davidB opened this issue Apr 24, 2022 · 1 comment

Comments

@davidB
Copy link
Member

davidB commented Apr 24, 2022

When I re-apply a template on an folder, I want to have the default value for variables set to the value used during previous apply.

Value should be stored as part of the target folder (by default):

  • to allow move of the folder and keep the feature
  • to allow to share (via git,...) the folder and allow other to re-apply with the previous value

Priority order for default value:

  • cli
  • previous apply
  • value from template (top to bottom)

The value should be linked to the template that declare the variable ? use case:

  • I apply 2 templates A & B with the same variable delared in both, I use different value for each, when re-apply remember the value for A and the value for B
  • I apply 1 template A that import B, when re-apply A remember the value, if remember only B reuse the same value
@davidB
Copy link
Member Author

davidB commented Mar 31, 2023

And also allow to use thoses variable file to create a project

see:

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

No branches or pull requests

1 participant