Add a 'list' command.