confirm

package
v1.2.18 Latest Latest
Warning

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

Go to latest
Published: May 1, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddFlag

func AddFlag(flags *pflag.FlagSet)

AddFlag adds the --yes flag to the given set of command line flags.

func Confirm

func Confirm(q string, v ...interface{}) bool

func Prompt added in v1.1.1

func Prompt(dflt bool, q string, v ...interface{}) bool

func Yes added in v1.1.12

func Yes() bool

Types

This section is empty.

Jump to

Keyboard shortcuts

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