main: print all pipeline names and ids
Instead of printing the tree_id and output_id, which are format dependent, print all pipelines, with their name and ids.
This commit is contained in:
parent
931eac23c3
commit
68f5c38e61
1 changed files with 2 additions and 3 deletions
|
|
@ -139,9 +139,8 @@ def osbuild_cli():
|
|||
sys.stdout.write("\n")
|
||||
else:
|
||||
if r["success"]:
|
||||
tree_id, output_id = fmt.get_ids(manifest)
|
||||
print("tree id:", tree_id)
|
||||
print("output id:", output_id)
|
||||
for name, pl in manifest.pipelines.items():
|
||||
print(f"{name + ':': <10}\t{pl.id}")
|
||||
else:
|
||||
print()
|
||||
print(f"{RESET}{BOLD}{RED}Failed{RESET}")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue