Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
SupportedFormats is a list of all supported output formats as strings
Functions ¶
func FormatOutput ¶
FormatOutput formats the AI response according to the specified format
func GetHelpText ¶
func GetHelpText() string
GetHelpText returns a formatted string describing all supported formats
Types ¶
type OutputFormat ¶
type OutputFormat string
OutputFormat represents the output format type for non-interactive mode
const ( // Text format outputs the AI response as plain text. Text OutputFormat = "text" // JSON format outputs the AI response wrapped in a JSON object. JSON OutputFormat = "json" )
func (OutputFormat) String ¶
func (f OutputFormat) String() string
String returns the string representation of the OutputFormat
type Spinner ¶
type Spinner struct {
// contains filtered or unexported fields
}
Spinner wraps the bubbles spinner for non-interactive mode
func NewSpinner ¶
NewSpinner creates a new spinner with the given message
Click to show internal directories.
Click to hide internal directories.