Hacker News new | ask | show | jobs
by oaiey 2066 days ago
Too simplistic. yo generator or npm init for example having selections, dropdowns and things like that (I just referenced them out of my head).
1 comments

If you know python, there is a package called prompt-toolkit which does what you are looking for

https://github.com/prompt-toolkit/python-prompt-toolkit

Yeah .. something like that is missing in C# land (IMHO)
Depending on how much effort you want to put into it, you may be able to use prompt-toolkit with IronPython (would have to use version 2.0 of prompt-toolkit since that supports Python 2.x) and then reference that in your C# applications
It may be easier to implement now with the improvements to conhost and now Windows Terminal
Sounds like a damn new project to do :)