plugin/cli: pretty-print the options dict

Also show the options that we are using.
This commit is contained in:
Christian Kellner 2020-09-10 00:33:16 +02:00 committed by Tom Gundersen
parent 60516fc811
commit 3dc463c8dd

View file

@ -1,4 +1,7 @@
"""osbild koji command line client integration"""
from pprint import pprint
import koji
import koji_cli.lib as kl
from koji.plugin import export_cli
@ -79,6 +82,7 @@ def handle_osbuild_image(options, session, argv):
print("arches:", ", ".join(arch))
print("target:", target)
print("image types ", str(image_types))
pprint(opts)
kl.activate_session(session, options)