Function
formatInstructionFooter
(instructions: string[], hasGuide: boolean)
Source from the content-addressed store, hash-verified
| 75 | } |
| 76 | |
| 77 | export function formatInstructionFooter(instructions: string[], hasGuide: boolean): string[] { |
| 78 | const guidePrefix = hasGuide ? `${styleText('cyan', S_BAR)} ` : ''; |
| 79 | const footerLines = [`${guidePrefix}${instructions.join(' • ')}`]; |
| 80 | if (hasGuide) { |
| 81 | footerLines.push(styleText('cyan', S_BAR_END)); |
| 82 | } |
| 83 | return footerLines; |
| 84 | } |
Tested by
no test coverage detected