lib

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Examples

Constants

This section is empty.

Variables

View Source
var (
	H1 = heading.Copy()
	H2 = heading.Copy().SetString("▌")

	CheckedItem = item.Copy().
				Foreground(lipgloss.CompleteColor{TrueColor: "#63b946", ANSI256: "41"}).
				SetString("✔︎")
	WarnedItem = item.Copy().
				Foreground(lipgloss.CompleteColor{TrueColor: "#ffc627", ANSI256: "226"}).
				SetString("⚠︎")
)

Functions

func Version

func Version() string

Types

type LoginItems

type LoginItems []*loginItem
Example
loginItems := LoginItems{{"Not found", "/Applications/Not found.app", false}}
loginItems.Add()
Output:

⚠︎ /Applications/Not found.app

func (*LoginItems) Add

func (loginItems *LoginItems) Add() (bool, error)

func (*LoginItems) Get

func (loginItems *LoginItems) Get() error

func (*LoginItems) Load

func (loginItems *LoginItems) Load(path string) error

func (*LoginItems) Save

func (loginItems *LoginItems) Save(path string, force bool) error

Jump to

Keyboard shortcuts

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