Implement very basic command-line interface.