recipe for simple interactive command line application