(project: Path)
| 89 | |
| 90 | |
| 91 | def _print_listing(project: Path) -> None: |
| 92 | skills = get_all_skills(project_root=project) |
| 93 | _print_section(f"Available skills ({len(skills)}, unconditional only)") |
| 94 | print(f"{'name':<30} {'source':<10} description") |
| 95 | print("-" * 72) |
| 96 | for s in sorted(skills, key=lambda x: x.name): |
| 97 | desc = s.description or "" |
| 98 | if len(desc) > 60: |
| 99 | desc = desc[:57] + "..." |
| 100 | print(f"{s.name:<30} {s.loaded_from:<10} {desc}") |
| 101 | |
| 102 | |
| 103 | def _print_invocation( |
no test coverage detected