styles

package
v0.2.0-beta.1 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2025 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AgentsPageTitle = `` /* 447-byte string literal not displayed */
View Source
View Source
var MfAndOpentelemetryTitle = `` /* 867-byte string literal not displayed */
View Source
var MfAndTelegrafTitle = `` /* 597-byte string literal not displayed */

Functions

func AgentsPageStyle

func AgentsPageStyle(agent string) *huh.Theme

func CustomKeyMap

func CustomKeyMap() *huh.KeyMap

func CustomUsageFunc

func CustomUsageFunc(cmd *cobra.Command) error

Custom styling for Cobra CLI

func DefaultStyles

func DefaultStyles() mainMenu

func FormBaseStyles

func FormBaseStyles() *huh.Theme

func FormStyles

func FormStyles() *huh.Theme

func PlaceContent

func PlaceContent(width, height int, content string) string

Types

type Summary added in v0.2.0

type Summary struct {
	Base,
	Container,
	Action,
	Status,
	KeyWord,
	Items,
	CtoAction,
	Footer lipgloss.Style
}

func SummaryStyles

func SummaryStyles(status bool) Summary

Jump to

Keyboard shortcuts

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