It would be a nice addition to cookiecutter if it would be possible to support interactive console elements, such as the ones provided by the PyInquirer project. This has the potential to significantly improve user interaction during the instantiation of cookiecutter templates.
I think the improvements to the interactive console with PyInquirer are so good.
However, PyInquirer's stable version in PyPI depends on the old prompt-toolkit, and we need to be cautious about introducing it to cookiecutter that will be installed globally in the user environment.
I hit up the author of PyInquirer, @CITGurur and sent him this message. Integration is not going to be that hard and also presents a number of opportunities. For starters, PyInquirer has a checkbox input which can output a list. This is not something currently available in cookiecutter as everything gets rendered to strings.
I have already done a lot of work on this and just contacted the @pydanny and @audreyr to discuss my work. Happy to submit PR on this pending discussions.
I think the improvements to the interactive console with PyInquirer are so good.
However, PyInquirer's stable version in PyPI depends on the old prompt-toolkit, and we need to be cautious about introducing it to cookiecutter that will be installed globally in the user environment.
@skmatz I can verify that there are some stability issues with using the old version of prompt-toolkit PyInquirer uses. I talked with the PyInquirer author though and he is open to updating PyInquirer with any changes needed to support the use of the package in this project.
There's always https://github.com/tmbo/questionary
There's always https://github.com/tmbo/questionary
This seems to be a valid option
Most helpful comment
@skmatz I can verify that there are some stability issues with using the old version of prompt-toolkit PyInquirer uses. I talked with the PyInquirer author though and he is open to updating PyInquirer with any changes needed to support the use of the package in this project.