Basic flow for the command line interface.