Show package "system" info before publishing

This commit is contained in:
Ivan Kravets
2021-04-30 18:06:35 +03:00
parent 1c90bb383f
commit 553c398c8e

View File

@@ -162,6 +162,8 @@ def package_publish( # pylint: disable=too-many-arguments, too-many-locals
("Name:", name),
("Version:", version),
]
if manifest.get("system"):
data.insert(len(data) - 1, ("System", ", ".join(manifest.get("system"))))
click.echo(tabulate(data, tablefmt="plain"))
# look for duplicates