Add a CLI command to list packages.