inputs

package
v1.2.2 Latest Latest
Warning

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

Go to latest
Published: Jun 4, 2024 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetArray

func GetArray(
	name models.ConfigPiece,
	cmd *cobra.Command,
	required bool,
) ([]string, log.CtxErr)

Get a sting based array configuration value

func GetBool

func GetBool(
	name models.ConfigPiece,
	cmd *cobra.Command,
) (bool, log.CtxErr)

Get a boolean based array configuration value

func GetString

func GetString(name models.ConfigPiece, cmd *cobra.Command, required bool) (string, log.CtxErr)

Get a string configuration value

func GetStringSimpleMapArray

func GetStringSimpleMapArray(
	name models.ConfigPiece,
	cmd *cobra.Command,
	required bool,
) ([]map[string]string, log.CtxErr)

Get a simple key value map based array configuration value

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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