Documentation
¶
Index ¶
- Variables
- func Divider(out *os.File, styles Styles)
- func Domain(domain synthient.Domain, out *os.File, styles Styles)
- func Done(out *os.File, styles Styles, message string)
- func Fail(out *os.File, styles Styles, message string)
- func Header(out *os.File, styles Styles, title string, detail ...any)
- func IP(ip synthient.IP, out *os.File, styles Styles, spacing bool)
- func Info(out *os.File, styles Styles, message string)
- func Intro(out *os.File, styles Styles, title string)
- func IpCSV(ip synthient.IP, writer *csv.Writer)
- func JSON(out *os.File, value any)
- func Open(path string) (*os.File, func())
- func Outro(out *os.File, styles Styles, message string)
- func PadLeft(value string, width int) string
- func PadRight(value string, width int) string
- func Warn(out *os.File, styles Styles, message string)
- func WriteLine(out *os.File, v ...any)
- type Block
- type BlockValue
- type Styles
Constants ¶
This section is empty.
Variables ¶
View Source
var HuhTheme = newHuhTheme()
View Source
var StdoutStyles = NewStyles(os.Stdout)
Functions ¶
Types ¶
type Block ¶
type Block struct {
Name string
Values []BlockValue
}
type BlockValue ¶
type Styles ¶
type Styles struct {
Bold lipgloss.Style
Muted lipgloss.Style
Subtle lipgloss.Style
Accent lipgloss.Style
Secondary lipgloss.Style
Warm lipgloss.Style
Frame lipgloss.Style
Title lipgloss.Style
Key lipgloss.Style
Value lipgloss.Style
Empty lipgloss.Style
Bool lipgloss.Style
Num lipgloss.Style
Success lipgloss.Style
Warning lipgloss.Style
Error lipgloss.Style
BlockData lipgloss.Style
SynthientColor lipgloss.Style
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.