package
1.16.0
Repository: https://github.com/murdinc/cli.git
Documentation: pkg.go.dev

# Functions

ApplyInputSourceValues iterates over all provided flags and executes ApplyInputSourceValue on flags implementing the FlagInputSourceExtension interface to initialize these flags to an alternate input source.
InitInputSource is used to to setup an InputSourceContext on a cli.Command Before method.
InitInputSourceWithContext is used to to setup an InputSourceContext on a cli.Command Before method.
NewBoolFlag creates a new BoolFlag.
NewBoolTFlag creates a new BoolTFlag.
NewDurationFlag creates a new DurationFlag.
NewFloat64Flag creates a new Float64Flag.
NewGenericFlag creates a new GenericFlag.
NewIntFlag creates a new IntFlag.
NewIntSliceFlag creates a new IntSliceFlag.
NewStringFlag creates a new StringFlag.
NewStringSliceFlag creates a new StringSliceFlag.
NewYamlSourceFromFile creates a new Yaml InputSourceContext from a filepath.
NewYamlSourceFromFlagFunc creates a new Yaml InputSourceContext from a provided flag name and source context.

# Structs

BoolFlag is the flag type that wraps cli.BoolFlag to allow for other values to be specified.
BoolTFlag is the flag type that wraps cli.BoolTFlag to allow for other values to be specified.
DurationFlag is the flag type that wraps cli.DurationFlag to allow for other values to be specified.
Float64Flag is the flag type that wraps cli.Float64Flag to allow for other values to be specified.
GenericFlag is the flag type that wraps cli.GenericFlag to allow for other values to be specified.
IntFlag is the flag type that wraps cli.IntFlag to allow for other values to be specified.
IntSliceFlag is the flag type that wraps cli.IntSliceFlag to allow for other values to be specified.
MapInputSource implements InputSourceContext to return data from the map that is loaded.
StringFlag is the flag type that wraps cli.StringFlag to allow for other values to be specified.
StringSliceFlag is the flag type that wraps cli.StringSliceFlag to allow for other values to be specified.

# Interfaces

FlagInputSourceExtension is an extension interface of cli.Flag that allows a value to be set on the existing parsed flags.
InputSourceContext is an interface used to allow other input sources to be implemented as needed.