The command line interface is of little relevance nowadays (please don't troll) but since I love to code in C and making a GUI in that language is such a pain, I have found usefull to make a module to create command line menu.
It is very simple, a few functions to create your menus and put them in a hierachy and a software loop.