console

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2024 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 RegisterCommandInt

func RegisterCommandInt(cmdName string, defaultValue int, 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