Documentation
¶
Index ¶
- Variables
- func PrintDBConnected(driver string)
- func PrintDryRun(daoPath, poPath string)
- func PrintError(title, msg string)
- func PrintFailureDetail(service, errorType, message string)
- func PrintGenerated(serviceName, daoPath, poPath string)
- func PrintInfo(msg string)
- func PrintProgress(current, total int, msg string)
- func PrintSuccess(title, msg string)
- func PrintSummary(success, failed int)
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Title = lipgloss.NewStyle(). Bold(true). Foreground(lipgloss.AdaptiveColor{Light: "#CC3333", Dark: "#FF7F7F"}) Info = lipgloss.NewStyle(). Foreground(lipgloss.AdaptiveColor{Light: "#555555", Dark: "#AAAAAA"}) Success = lipgloss.NewStyle(). Foreground(lipgloss.AdaptiveColor{Light: "#2D7A2D", Dark: "#B8E6B8"}) Warn = lipgloss.NewStyle(). Foreground(lipgloss.AdaptiveColor{Light: "#CC7700", Dark: "#FFAA33"}) Error = lipgloss.NewStyle(). Foreground(lipgloss.AdaptiveColor{Light: "#CC2222", Dark: "#FF6B6B"}) Path = lipgloss.NewStyle(). Foreground(lipgloss.AdaptiveColor{Light: "#0066CC", Dark: "#66AAFF"}) Counter = lipgloss.NewStyle(). Bold(true) Summary = lipgloss.NewStyle(). Bold(true) )
Style tokens using AdaptiveColor for light/dark theme support.
Functions ¶
func PrintDBConnected ¶
func PrintDBConnected(driver string)
PrintDBConnected prints a database connection success message.
func PrintDryRun ¶
func PrintDryRun(daoPath, poPath string)
PrintDryRun prints dry-run output showing planned paths.
func PrintError ¶
func PrintError(title, msg string)
PrintError prints an error message with a red cross to stderr.
func PrintFailureDetail ¶
func PrintFailureDetail(service, errorType, message string)
PrintFailureDetail prints a single failure detail line.
func PrintGenerated ¶
func PrintGenerated(serviceName, daoPath, poPath string)
PrintGenerated prints a generation success message.
func PrintProgress ¶
PrintProgress prints a progress indicator in the format current/total msg.
func PrintSuccess ¶
func PrintSuccess(title, msg string)
PrintSuccess prints a success message with a green checkmark.
func PrintSummary ¶
func PrintSummary(success, failed int)
PrintSummary prints a parseable summary line.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.