Documentation
¶
Overview ¶
Package output provides formatting utilities for CLI output.
Package output provides output formatting and rendering for CLI commands.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CommandHelp ¶ added in v0.16.0
func CommandHelp(info CommandHelpInfo) string
CommandHelp builds and formats help text for a command with syntax highlighting. It assembles usage, description, flags, and example sections, then applies color highlighting to headers, flags, and command references.
Types ¶
type CommandHelpInfo ¶ added in v0.16.0
type CommandHelpInfo struct {
ProductName string
Usage string
Description string
Flags *flag.FlagSet
Example string
}
CommandHelpInfo contains the components of command help text.
type PipelineRenderer ¶
type PipelineRenderer struct {
// contains filtered or unexported fields
}
PipelineRenderer displays the pipeline status in realtime
func NewPipelineRenderer ¶
func NewPipelineRenderer(ui terminal.UI, client *client.Client) *PipelineRenderer
NewPipelineRenderer returns a new PipelineRenderer
Click to show internal directories.
Click to hide internal directories.