Documentation
¶
Overview ¶
Package describe implements the stackit describe command for managing stack descriptions.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ParseEditorContent ¶
func ParseEditorContent(content string) *git.StackDescription
ParseEditorContent parses the editor content into a StackDescription. Returns nil if the content is empty (abort).
func TruncateDescription ¶
TruncateDescription truncates a description string for display. It returns the first line, truncated to maxLen characters if needed.
Types ¶
type Handler ¶
type Handler interface {
// Cleanup restores terminal state (may be no-op)
Cleanup()
// IsInteractive returns true if the handler supports interactive prompts
IsInteractive() bool
}
Handler receives events from describe action
type NullHandler ¶
NullHandler is a no-op handler for when nil is passed. It embeds handler.NullBase for Cleanup() and IsInteractive().
Click to show internal directories.
Click to hide internal directories.