exe

package
v0.0.0-...-e0eff91 Latest Latest
Warning

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

Go to latest
Published: May 13, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package exe defines QoL functions to simplify and unify creating executables

Index

Constants

This section is empty.

Variables

View Source
var ToolkitVersion = ""

ToolkitVersion specifies the version of the toolkit and the reported version of all tools in it.

Functions

func InputDirFlag

func InputDirFlag(k *kingpin.Application, doc string) *string

InputDirFlag registers an input flag for k with documentation doc and returns the passed value

func InputFlag

func InputFlag(k *kingpin.Application, doc string) *string

InputFlag registers an input flag for k with documentation doc and returns the passed value

func InputStringFlag

func InputStringFlag(k *kingpin.Application, doc string) *string

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

func OutputDirFlag(k *kingpin.Application, doc string) *string

OutputDirFlag registers an output flag for k with documentation doc and returns the passed value

func OutputFlag

func OutputFlag(k *kingpin.Application, doc string) *string

OutputFlag registers an output flag for k with documentation doc and returns the passed value

func ParseListArgument

func ParseListArgument(input string) (results []string)

ParseListArgument takes a user provided string list that is space seperated and returns a slice of the split and trimmed elements.

func PlaceHolderize

func PlaceHolderize(thing []string) string

PlaceHolderize takes a list of available inputs and returns a corresponding placeholder

Types

This section is empty.

Jump to

Keyboard shortcuts

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