标签: python cookiecutter
我想知道,是否可以根据其他参数的值跳过cookiecutter.json中所选参数的提示?例如cookiecutter.json:
cookiecutter.json
{ "ask_for_more": ["y", "n"], "some_parameter": "test" }
如果some_parameter的答案为ask_for_more,我想跳过n的提示。
some_parameter
ask_for_more
n
有可能吗?