prompts

package
v0.5.4 Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2021 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ShowConfirmationPrompt

func ShowConfirmationPrompt(label string) (bool, error)

ShowSelectionPrompt displays confirmation dialog with label describing what user is prompted and enables user to choose between "Yes" and "No".

func ShowSelectionPrompt

func ShowSelectionPrompt(label string, options []string) (bool, error)

ShowSelectionPrompt displays confirmation dialog with label describing what user is prompted and enables user to choose between options.

Types

This section is empty.

Jump to

Keyboard shortcuts

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