cli

package
v0.6.7 Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadFrequencies

func LoadFrequencies(frequencyStrs []string) []simpleradio.RadioFrequency

func NewEnum

func NewEnum(flag *string, _type string, defaultValue string, options ...string) *enum

NewEnum creates a enumerated flag that updates the provided string variable when set. The first argument is a hint for use in help text. The second argument is the default value, or "" if there is no default. The remaining arguments are the valid options (a provided default value will be added to the list of options).

func SetupZerolog

func SetupZerolog(levelName, formatName string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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