options

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2021 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Select

func Select(msg string, opts []fmt.Stringer) (interface{}, error)

Select prompts the user which of the available options is the desired through STDIN and returns the selected one

Types

type LiteralStringer added in v0.1.0

type LiteralStringer string

func (LiteralStringer) String added in v0.1.0

func (l LiteralStringer) String() string

Jump to

Keyboard shortcuts

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