(file: MarkdownFile)
| 552 | } |
| 553 | |
| 554 | function getCommandName(file: MarkdownFile): string { |
| 555 | const isSkill = isSkillFile(file.filePath) |
| 556 | return isSkill |
| 557 | ? getSkillCommandName(file.filePath, file.baseDir) |
| 558 | : getRegularCommandName(file.filePath, file.baseDir) |
| 559 | } |
| 560 | |
| 561 | /** |
| 562 | * Loads skills from legacy /commands/ directories. |
no test coverage detected