openfl.interface.cli_helper.print_tree#
- openfl.interface.cli_helper.print_tree(dir_path, level=-1, limit_to_directories=False, length_limit=1000)[source]#
Given a directory Path object print a visual tree structure.
- Parameters:
dir_path (Path) – The directory path.
level (int, optional) – The level of the directory. Defaults to -1.
limit_to_directories (bool, optional) – Limit to directories. Defaults to False.
length_limit (int, optional) – The length limit. Defaults to 1000.