Documentation ¶
Overview ¶
Package exe defines QoL functions to simplify and unify creating executables
Index ¶
- Variables
- func InputDirFlag(k *kingpin.Application, doc string) *string
- func InputFlag(k *kingpin.Application, doc string) *string
- func InputStringFlag(k *kingpin.Application, doc string) *string
- func LogFileFlag(k *kingpin.Application) *string
- func LogLevelFlag(k *kingpin.Application) *string
- func OutputDirFlag(k *kingpin.Application, doc string) *string
- func OutputFlag(k *kingpin.Application, doc string) *string
- func ParseListArgument(input string) (results []string)
- func PlaceHolderize(thing []string) string
Constants ¶
This section is empty.
Variables ¶
var ToolkitVersion = ""
ToolkitVersion specifies the version of the toolkit and the reported version of all tools in it.
Functions ¶
func InputDirFlag ¶
InputDirFlag registers an input flag for k with documentation doc and returns the passed value
func InputFlag ¶
InputFlag registers an input flag for k with documentation doc and returns the passed value
func InputStringFlag ¶
InputStringFlag registers an input flag for k with documentation doc and returns the passed value
func LogFileFlag ¶
func LogFileFlag(k *kingpin.Application) *string
LogFileFlag registers a log file flag for k and returns the passed value
func LogLevelFlag ¶
func LogLevelFlag(k *kingpin.Application) *string
LogLevelFlag registers a log level flag for k and returns the passed value
func OutputDirFlag ¶
OutputDirFlag registers an output flag for k with documentation doc and returns the passed value
func OutputFlag ¶
OutputFlag registers an output flag for k with documentation doc and returns the passed value
func ParseListArgument ¶
ParseListArgument takes a user provided string list that is space seperated and returns a slice of the split and trimmed elements.
func PlaceHolderize ¶
PlaceHolderize takes a list of available inputs and returns a corresponding placeholder
Types ¶
This section is empty.