Add a command-line interface