Y
Hacker News
new
|
ask
|
show
|
jobs
by
voltagex_
2066 days ago
Something like
https://github.com/tonerdo/readline
?
1 comments
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).
link
animal_spirits
2066 days ago
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
link
oaiey
2066 days ago
Yeah .. something like that is missing in C# land (IMHO)
link
jetti
2066 days ago
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
link
voltagex_
2066 days ago
It may be easier to implement now with the improvements to conhost and now Windows Terminal
link
oaiey
2065 days ago
Sounds like a damn new project to do :)
link