config

package
v0.8.3 Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2025 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrLocaleNotBCP47 = errors.New("must be a valid non-und BCP 47 locale")

Functions

This section is empty.

Types

type ConfigGenerate

type ConfigGenerate struct {
	Locale          language.Tag
	Translations    []language.Tag
	ModPath         string
	TrimPath        bool
	JSON            bool
	QuietMode       bool
	VerboseMode     bool
	BundlePkgPath   string
	RequireComplete bool
}

func ParseCLIArgsGenerate

func ParseCLIArgsGenerate(osArgs []string) (*ConfigGenerate, error)

ParseCLIArgsGenerate parses CLI arguments for command "generate"

type ConfigWebedit added in v0.8.0

type ConfigWebedit struct {
	Host          string
	BundlePkgPath string
	DontOpen      bool
}

func ParseCLIArgsWebedit added in v0.8.0

func ParseCLIArgsWebedit(osArgs []string) (*ConfigWebedit, error)

Jump to

Keyboard shortcuts

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