commands

package
v1.2.6 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2023 License: MPL-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateIcons

func GenerateIcons(params *IconsParams) error

func GenerateSplashScreen

func GenerateSplashScreen(params *SplashParams) error

Types

type IconsParams

type IconsParams struct {
	InputFile       string
	OutputDirectory string
	Size16x16       bool
	Size32x32       bool
	Size64x64       bool
	Size128x128     bool
	Size256x256     bool
	Size512x512     bool
	GenerateIco     bool
	GenerateIcns    bool
	Verbose         bool
}

type SplashParams

type SplashParams struct {
	ConfigFile  string
	OutputDir   string
	OutFileName string
	Verbose     bool
}

type SplashTemplateData

type SplashTemplateData struct {
	BorderColor     string `yaml:"splash-border-color"`
	Title           string `yaml:"title"`
	TitleColor      string `yaml:"title-color"`
	Subheading      string `yaml:"subheading"`
	SubheadingColor string `yaml:"subheading-color"`
	BackgroundFill  string `yaml:"background-fill"`
	Copyright       string `yaml:"copyright"`
	CopyrightYear   int    `yaml:"copyright-year"`
}

Jump to

Keyboard shortcuts

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