prompt

package
v0.0.8 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2023 License: BSD-3-Clause Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Choice

func Choice(msg string, choices []string, opts ...Option) int

func HasRequiredOption

func HasRequiredOption(opts []Option) bool

func Int

func Int(msg string, opts ...Option) int

func Password

func Password(msg string, opts ...Option) string

func String

func String(msg string, opts ...Option) string

Types

type Option

type Option int
const Required Option = 0

Jump to

Keyboard shortcuts

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