Building the command-line interface