Dump the list of all the structures and their respective.
(self, _: List)
| 5474 | return |
| 5475 | |
| 5476 | def do_invoke(self, _: List) -> None: |
| 5477 | """Dump the list of all the structures and their respective.""" |
| 5478 | manager = ExternalStructureManager() |
| 5479 | info(f"Listing custom structures from '{manager.path}'") |
| 5480 | struct_color = gef.config["pcustom.structure_type"] |
| 5481 | filename_color = gef.config["pcustom.structure_name"] |
| 5482 | for module in manager.modules.values(): |
| 5483 | __modules = ", ".join([Color.colorify(structure_name, struct_color) for structure_name in module.values()]) |
| 5484 | __filename = Color.colorify(str(module.path), filename_color) |
| 5485 | gef_print(f"{RIGHT_ARROW} {__filename} ({__modules})") |
| 5486 | return |
| 5487 | |
| 5488 | |
| 5489 | @register |
nothing calls this directly
no test coverage detected