(w io.Writer, body string, r *lipgloss.Renderer, raw bool)
| 469 | } |
| 470 | |
| 471 | func printDescription(w io.Writer, body string, r *lipgloss.Renderer, raw bool) { |
| 472 | if body == "" { |
| 473 | return |
| 474 | } |
| 475 | separator := strings.Repeat("\u2500", 49) |
| 476 | content := strings.TrimSpace(body) |
| 477 | if !raw { |
| 478 | content = markdown.Render(content, r) |
| 479 | } |
| 480 | fmt.Fprintf(w, "\nDescription:\n%s\n%s\n%s\n", separator, content, separator) |
| 481 | } |
| 482 | |
| 483 | func printDependencies(w io.Writer, deps dependencyInfo, r *lipgloss.Renderer) { |
| 484 | if len(deps.DependsOn) == 0 && len(deps.Blocks) == 0 { |