prompt

package
v1.56.2 Latest Latest
Warning

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

Go to latest
Published: May 31, 2022 License: AGPL-3.0 Imports: 3 Imported by: 0

Documentation

Overview

Package prompt implements asking input from command line.

Index

Constants

This section is empty.

Variables

View Source
var Error = errs.Class("prompt")

Error is the default error class for prompt package.

Functions

func Confirm

func Confirm(prompt string) (bool, error)

Confirm asks to confirm a question.

Types

This section is empty.

Jump to

Keyboard shortcuts

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