Add a "list" subcommand