(file: MarkdownFile)
| 558 | } |
| 559 | |
| 560 | function getCommandName(file: MarkdownFile): string { |
| 561 | const isSkill = isSkillFile(file.filePath) |
| 562 | return isSkill |
| 563 | ? getSkillCommandName(file.filePath, file.baseDir) |
| 564 | : getRegularCommandName(file.filePath, file.baseDir) |
| 565 | } |
| 566 | |
| 567 | /** |
| 568 | * Loads skills from legacy /commands/ directories. |
no test coverage detected