terminal

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2021 License: Unlicense Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PrintError

func PrintError(err error)

Types

type ConvertOptions

type ConvertOptions struct {
	HelpOption
	PaletteOption
	Output   string `cli:"o,output" usage:"Output file(s)"`
	Contrast int    `cli:"c,contrast" usage:"Tolerance of the contrast in percent" dft:"0"`
	L        int    `cli:"l" usage:"Tolerance of the L* component in the CIELAB color space" dft:"0"`
	A        int    `cli:"a" usage:"Tolerance of the a* component in the CIELAB color space" dft:"0"`
	B        int    `cli:"b" usage:"Tolerance of the b* component in the CIELAB color space" dft:"0"`
	Step     int    `cli:"s,stepsize" usage:"Step size of each tolerance" dft:"1"`
	X        int    `cli:"x" usage:"Tile size in x direction" dft:"0"`
	Y        int    `cli:"y" usage:"Tile size in y direction" dft:"0"`
}

type FindOptions

type FindOptions struct {
	HelpOption
}

type HelpOption

type HelpOption struct {
	Help bool `cli:"h,help" usage:"Show help"`
}

type PaletteOption

type PaletteOption struct {
	Palette string `cli:"p,palette" usage:"Name or path (.png) of the palette to use"`
}

type RootOptions

type RootOptions struct {
	HelpOption
	Version bool `cli:"v,version" usage:"Show version information"`
}

type ValidateOptions

type ValidateOptions struct {
	HelpOption
	PaletteOption
}

Jump to

Keyboard shortcuts

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