<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /></head><body style='font-size: 10pt; font-family: Arial,Helvetica,sans-serif'>
I'm working on a CLI application that allows the user to do some configuration. During the process the user is presented with different questions that need to be answered, before the configuration is written to file. For convenience, the user is presented with default options as well. Something like this:<br /><br />----------<br />Log files can be written to monitor the performance and debug the application<br />> Please select whether you would like to write logs to file (y/n) [y]:<br />----------<br /><br />Is there a library available that can handle this kind of input from the command line? Though not difficult to write something from scratch (I already started on it), I feel like this has to be available already. Anyone has a tip for me?<br /><br />TIA!<br /><br />Rgds, Darius
</body></html>