def show(root_path): print("Directories where plots are being searched for:") print("Note that subdirectories must be added manually.") print("Add with 'chia plots add -d [dir]' and remove with" + " 'chia plots remove -d [dir]'." + " Scan and check plots with 'chia plots check'") print() for str_path in get_plot_directories(root_path): print(f"{str_path}")
def show_plots(root_path: Path): from src.plotting.plot_tools import get_plot_directories print("Directories where plots are being searched for:") print("Note that subdirectories must be added manually") print("Add with 'chia plots add -d [dir]' and remove with" + " 'chia plots remove -d [dir]'" + " Scan and check plots with 'chia plots check'") print() for str_path in get_plot_directories(root_path): print(f"{str_path}")
async def _get_plot_directories(self) -> List[str]: return get_plot_directories(self.root_path)