prompt

package
v0.0.0-...-69dc298 Latest Latest
Warning

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

Go to latest
Published: Jun 17, 2025 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AskDeleteAfterPrint

func AskDeleteAfterPrint() bool

func AskOneSidedPrint

func AskOneSidedPrint() bool

func ConfirmInput

func ConfirmInput(prompt string) bool

ConfirmInput prompts the user with a yes/no question. Defaults to "n" if empty.

func ConfirmInputWithDefault

func ConfirmInputWithDefault(prompt string, onEmptyDefault bool) bool

ConfirmInputWithDefault allows specifying a default answer (true = yes, false = no)

func GetFilesToPrint

func GetFilesToPrint() []string

func GetNoOfCopies

func GetNoOfCopies() int

func GetUserCredentials

func GetUserCredentials() (string, string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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