Documentation ¶
Overview ¶
Copyright © 2022 NAME HERE <EMAIL ADDRESS>
Index ¶
Constants ¶
View Source
const ( AppEmoji = "🦄" ApplicationName = "arcadia" RootPsName = "root-ps" SourceID = "github.com/snivilised/arcadia" )
View Source
const WidgetPsName = "widget-ps"
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 OutputFormatEnum ¶
type OutputFormatEnum int
const ( XMLFormatEn OutputFormatEnum JSONFormatEn TextFormatEn ScribbleFormatEn )
type RootParameterSet ¶
CLIENT-TODO: define valid properties on the root parameter set
type WidgetParameterSet ¶
type WidgetParameterSet struct { Directory string Format OutputFormatEnum Concise bool Pattern string Threshold uint // the following are supporting fields required for widget command // OutputFormatEnumInfo *assistant.EnumInfo[OutputFormatEnum] OutputFormatEn assistant.EnumValue[OutputFormatEnum] }
Click to show internal directories.
Click to hide internal directories.