Content view package list

Problem: Does anyone know the hammer command equivalent to viewing the rpm packages in a particular content view version? In the gui, it is Content Views > > Versions > <content name and version #> > Packages. I’ve been trying hammer content-view --help and checking each adding in each sub-command and checking help, but have not found anything that would show the rpms included.

Expected outcome: List of rpms and versions included in this particular content view version.

Foreman and Proxy versions: 2.1.4-1

Foreman and Proxy plugin versions:

Distribution and version: CentOS 7.9

Other relevant data:

It may be better to create this as a report template. It could do the calculaction more efficiently. We’d need to allow the package listing in safe mode first, today we only allow accessing name and label for a content view. If we made access to the content_view_versions, we could then list packages for a specific content view version.

Interesting. There does not appear to be a command-line method of creating a report template? I’ll have to work on this. Thanks!