input

package
Version: v0.2.4 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2021 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BoolAnswer

func BoolAnswer(question string) bool

BoolAnswer check for (y/n) answer.

func Inquire

func Inquire(cfg *config.Config) *config.Config

Inquire for configuration. nolint: funlen, gocognit

func OptionAnswer

func OptionAnswer(question string, options ...string) string

OptionAnswer check for string answer.

func StringAnswer

func StringAnswer(question, option string) string

StringAnswer check for string answer.

Types

This section is empty.

Jump to

Keyboard shortcuts

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