exe

package
v0.0.0-...-efbe941 Latest Latest
Warning

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

Go to latest
Published: May 7, 2026 License: MIT Imports: 4 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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 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

func SetupLogFlags

func SetupLogFlags(k *kingpin.Application) *logger.LogFlags

Types

type ProfileFlags

type ProfileFlags struct {
	EnableCpuProf *bool
	EnableMemProf *bool
	EnableTrace   *bool
	CpuProfFile   *string
	MemProfFile   *string
	TraceFile     *string
}

func SetupProfileFlags

func SetupProfileFlags(k *kingpin.Application) *ProfileFlags

Jump to

Keyboard shortcuts

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