ui

package
v0.16.1 Latest Latest
Warning

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

Go to latest
Published: Jun 16, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AskForText

func AskForText(message, d string) (string, error)

AskForText interactively ask for one string from the user

func AskFromOptions

func AskFromOptions(message string, options []string, d string) (string, error)

AskFromOptions interactively ask the user to choose one option or none

func AskManyFromOptions

func AskManyFromOptions(message string, options, d []string) ([]string, error)

AskManyFromOptions interactively ask the user to choose none or many option

func Confirm

func Confirm(message string, d bool) (bool, error)

Confirm interactively ask the user a yes/no question

Types

This section is empty.

Jump to

Keyboard shortcuts

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