console

package
v0.0.0-...-1905027 Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetParamBoolVal

func GetParamBoolVal(paramName string) bool

func GetParamStringVal

func GetParamStringVal(paramName string) string

func PrintDefaults

func PrintDefaults()

func RegisterCommandBool

func RegisterCommandBool(cmdName string, defaultValue bool, usage string, fn CommandFunctionCB)

func RegisterCommandString

func RegisterCommandString(cmdName string, defaultValue string, usage string, fn CommandFunctionCB)

func Run

func Run(args []string) error

Types

type CommandFunctionCB

type CommandFunctionCB func(args interface{}) error

Jump to

Keyboard shortcuts

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