Skip to content

Commit

Permalink
Show checks in solution dump
Browse files Browse the repository at this point in the history
  • Loading branch information
George V. Kouryachy (Fr. Br. George) committed Oct 21, 2023
1 parent 1d296a1 commit 62b6fe0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions hworker/control/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,8 @@ def show_objects(self, Type, *options, actual=True, flt=".*", dump=False):
except Exception:
content = str(hw.content[fname])
print(f"\t{fname}:\n{content}" if dump else f"\t{fname}")
if "ID" in rules and hasattr(hw, "checks") and dump:
pprint(hw.checks)

def do_show(self, arg):
"""Show objects or individual object"""
Expand Down

0 comments on commit 62b6fe0

Please sign in to comment.