Add a subcommand for listing packages