Documentation
¶
Index ¶
- func DetailKeyValue(key string, value string)
- func Execute()
- func Header(text string)
- func IsVerbose() bool
- func KeyValue(key string, value string)
- func PrintServiceURLs(envName string, ports domain.PortMap, proxyDomain string, ...)
- func SectionHeader(text string)
- func StatusBadge(status string) string
- func Success(text string)
- type CLIProgressReporter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DetailKeyValue ¶
DetailKeyValue prints a styled detail key-value pair with indentation.
func PrintServiceURLs ¶
func PrintServiceURLs(envName string, ports domain.PortMap, proxyDomain string, excludeServices ...string)
PrintServiceURLs prints a "Services" section with compiled URLs or localhost fallbacks. Optional excludeServices filters out infrastructure services (e.g., "redis") from the list.
func StatusBadge ¶
StatusBadge returns a colored status string.
Types ¶
type CLIProgressReporter ¶
type CLIProgressReporter struct {
// contains filtered or unexported fields
}
CLIProgressReporter renders lifecycle events with colors, spinners, and timing.
func NewCLIProgressReporter ¶
func NewCLIProgressReporter() *CLIProgressReporter
NewCLIProgressReporter creates a new CLI progress reporter.
func (*CLIProgressReporter) OnStep ¶
func (r *CLIProgressReporter) OnStep(event domain.StepEvent)
func (*CLIProgressReporter) StderrWriter ¶
func (r *CLIProgressReporter) StderrWriter() io.Writer
StderrWriter returns a writer that indents hook output for display below the step indicator.
Click to show internal directories.
Click to hide internal directories.