toolutils

package
v1.4.3 Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2025 License: MIT Imports: 4 Imported by: 5

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReadYaml

func ReadYaml(dest any, file string)

Types

type CmdTree

type CmdTree struct {
	Name string
	Help string
	Sub  []*CmdTree
	Fun  func([]string)
}

func (*CmdTree) Execute

func (c *CmdTree) Execute(args []string)

func (*CmdTree) Usage

func (c *CmdTree) Usage(args []string)

type StatusPrinter

type StatusPrinter struct {
	File    *os.File
	Padding int
}

func (StatusPrinter) Print

func (s StatusPrinter) Print(key string, value any)

Jump to

Keyboard shortcuts

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