util

package
v0.13.0-alpha.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 26, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CheckmarkSymbol = lipgloss.NewStyle().Foreground(lipgloss.Color("42")).SetString("✓")
View Source
var DocStyle = lipgloss.
	NewStyle().
	Margin(3, 2, 1, 2).
	Padding(1, 2).
	BorderForeground(views.LightGray).
	Border(lipgloss.RoundedBorder())

Functions

func GetBorderedMessage

func GetBorderedMessage(message string) string

func GetJoinedCommands added in v0.13.0

func GetJoinedCommands(commands []string) string

func GetListFooter added in v0.9.0

func GetListFooter(profileName string) string

func GetLongDescription

func GetLongDescription() string

func GetSeparatorString

func GetSeparatorString() string

func GetSplitCommands added in v0.13.0

func GetSplitCommands(commands string) []string

func GetStyledMainTitle

func GetStyledMainTitle(content string) string

func RenderBorderedMessage added in v0.4.0

func RenderBorderedMessage(message string)

func RenderCreationInfoMessage

func RenderCreationInfoMessage(message string)

func RenderDefaultIdeUpdated

func RenderDefaultIdeUpdated(ide string)

func RenderInfoMessage

func RenderInfoMessage(message string)

func RenderInfoMessageBold

func RenderInfoMessageBold(message string)

func RenderLine added in v0.7.0

func RenderLine(message string)

func RenderListLine

func RenderListLine(message string)

func RenderMainTitle

func RenderMainTitle(title string)

func With added in v0.11.0

func With(fn func() error) error

Types

type Msg added in v0.11.0

type Msg string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL