()
| 19 | } |
| 20 | |
| 21 | function formatNoWorkflowsMessage(): string { |
| 22 | return [ |
| 23 | 'No workflow commands found.', |
| 24 | '', |
| 25 | 'Workflow commands can be defined as markdown files in:', |
| 26 | '- .ncode/workflows', |
| 27 | '- .claude/workflows (legacy)', |
| 28 | `- ${getCanonicalNcodeConfigHomeDir()}/workflows`, |
| 29 | `- ${getLegacyClaudeConfigHomeDir()}/workflows (legacy)`, |
| 30 | ].join('\n') |
| 31 | } |
| 32 | |
| 33 | function formatWorkflowList(definitions: WorkflowDefinition[]): string { |
| 34 | const lines = ['Available workflow commands:'] |