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
func ParseCLIArgsWebedit ¶ added in v0.8.0
func ParseCLIArgsWebedit(osArgs []string) (*ConfigWebedit, error)
Click to show internal directories.
Click to hide internal directories.