Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Box = &pterm.BoxPrinter{ VerticalString: "│", TopRightCornerString: "╰", TopLeftCornerString: "╯", BottomLeftCornerString: "╮", BottomRightCornerString: "╭", HorizontalString: "─", BoxStyle: &pterm.Style{pterm.FgGray}, TextStyle: &pterm.ThemeDefault.BoxTextStyle, RightPadding: 3, LeftPadding: 3, TopPadding: 1, BottomPadding: 1, TitleTopLeft: true, }
View Source
var Highlight1 = pterm.NewStyle(pterm.Bold, pterm.FgLightCyan).Sprintf
View Source
var Highlight2 = pterm.NewStyle(pterm.Bold, pterm.FgLightMagenta).Sprintf
View Source
var Plain = pterm.NewStyle(pterm.FgWhite).Sprintf
View Source
var Subtitle = pterm.NewStyle(pterm.Italic, pterm.FgLightRed).Sprintf
View Source
var Subtle = pterm.NewStyle(pterm.FgGray).Sprintf
View Source
var Title = pterm.NewStyle(pterm.Bold, pterm.FgLightRed).Sprintf
View Source
var Wrapper = &pterm.BoxPrinter{ VerticalString: "", TopRightCornerString: "", TopLeftCornerString: "", BottomLeftCornerString: "", BottomRightCornerString: "", HorizontalString: "", BoxStyle: &pterm.ThemeDefault.BoxStyle, TextStyle: &pterm.ThemeDefault.BoxTextStyle, RightPadding: 1, LeftPadding: 1, TopPadding: 0, BottomPadding: 0, TitleTopLeft: false, }
Functions ¶
func NewSpinner ¶
func NewSpinner(cmd *cobra.Command) pterm.SpinnerPrinter
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.