It would be great to make productmd easier to use from bash scripts (eg Jenkins jobs).
For example:
compose-query http://example.com/composes/RHCEPH-2.5-RHEL-7-20180227.ci.0/ info.release.short
This could print the release's shortname string, RHCEPH.
RHCEPH
Currently we must handle this by writing the entire thing in Python :^) with productmd or by scraping the compose metadata/composeinfo.json file in bash with curl and jq.
metadata/composeinfo.json