Documentation ¶
Overview ¶
Copyright © 2022 NAME HERE <EMAIL ADDRESS>
Index ¶
Constants ¶
View Source
const ( AppEmoji = "🦄" ApplicationName = "trixy" RootPsName = "root-ps" SourceID = "github.com/snivilised/trixy" )
Variables ¶
View Source
var (
Version = strings.TrimSpace(version)
)
TODO: The version.txt should be updated in ci to contain the version number associated with the applied tag. Currently not yet defined in this template.
Functions ¶
func Execute ¶
func Execute(setter ...ExecutionOptionsFn) error
Types ¶
type Bootstrap ¶
type Bootstrap struct { Detector LocaleDetector // contains filtered or unexported fields }
Bootstrap represents construct that performs start up of the cli without resorting to the use of Go's init() mechanism and minimal use of package global variables.
type ConfigureOptionFn ¶
type ConfigureOptionFn func(*configureOptions)
type ExecutionOptions ¶
type ExecutionOptions struct { Detector LocaleDetector From *xi18n.LoadFrom }
type ExecutionOptionsFn ¶
type ExecutionOptionsFn func(o *ExecutionOptions)
type LocaleDetector ¶
type RootParameterSet ¶
CLIENT-TODO: define valid properties on the root parameter set
Click to show internal directories.
Click to hide internal directories.