Print a summary of all operations and their dependencies.
(self)
| 117 | return self.get_operation(operation).get("description", "") |
| 118 | |
| 119 | def print_summary(self) -> None: |
| 120 | """Print a summary of all operations and their dependencies.""" |
| 121 | print("\n" + "=" * 70) |
| 122 | print("FASTLED DEPENDENCY MANIFEST SUMMARY") |
| 123 | print("=" * 70) |
| 124 | |
| 125 | for op_name in self.list_operations(): |
| 126 | op = self.get_operation(op_name) |
| 127 | globs = op.get("globs", []) |
| 128 | print(f"\n📋 {op_name}") |
| 129 | print(f" {op.get('description', 'No description')}") |
| 130 | print(f" Patterns: {len(globs)} glob(s)") |
| 131 | for glob in globs[:3]: # Show first 3 |
| 132 | print(f" - {glob}") |
| 133 | if len(globs) > 3: |
| 134 | print(f" ... and {len(globs) - 3} more") |
| 135 | |
| 136 | |
| 137 | def load_globs_for_operation(operation: str) -> list[str]: |
no test coverage detected