Replies: 2 comments
|
I agree that they should be decoupled. |
0 replies
|
I didn't realize |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
While writing up my thoughts in #2680, I started wondering whether
--defaultsand running in non-interactive mode should be decoupled.Currently, when we pass
--defaults, Copier fails when there is any required question without a template's default answer, user's default answer, recorded answer, or programmatically provided answer via--data/--data-file. This means, we cannot use default answers for optional questions (i.e., no prompting) while being prompted for required questions. But I think that's a quite reasonable use case.This affects
copier copyfor obvious reasons andcopier update/copier recopywhen a new template version introduces new required questions and new optional questions where we want to go with default answers for the latter (and for previously answered questions unless we pass the not-yet-available--askflag).I suggest to add a new flag
--no-interactionor--non-interactiveand change--defaultsto not imply non-interactive mode anymore./cc @lhupfeldt @bentheiii because of our somewhat related discussion in #2680
All reactions