Documentation
¶
Overview ¶
Package why provides terminal output functions for the why command.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Banner ¶
Banner prints the ctx ASCII art banner for the why menu.
Parameters:
- cmd: Cobra command for output. Nil is a no-op.
func Content ¶
Content prints document content to stdout.
Parameters:
- cmd: Cobra command for output. Nil is a no-op.
- text: Pre-processed document text.
func MenuItem ¶
MenuItem prints a numbered menu item.
Parameters:
- cmd: Cobra command for output. Nil is a no-op.
- index: 1-based menu index.
- label: display label for the document.
func MenuPrompt ¶
MenuPrompt prints the selection prompt.
Parameters:
- cmd: Cobra command for output. Nil is a no-op.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.