@click.command("<STR_LIT>")<EOL>@click_log.simple_verbosity_option(logger)<EOL>def tree():
session = AppAggregate().open_session()<EOL>classes = session.query(AssetClass).all()<EOL>root = []<EOL>for ac in classes:<EOL><INDENT>if ac.parentid is None:<EOL><INDENT>root.append(ac)<EOL><DEDENT><DEDENT>print_row("<STR_LIT:id>", "<STR_LIT>", "<STR_LIT>", "<STR_LIT>")<EOL>print(f"<STR_LIT>")<EOL>for ac in root:<EOL><INDENT>print_item_with_children(ac, classes, <NUM_LIT:0>)<EOL><DEDENT>
Display a tree of asset classes