beats: Index | Files

package terminal

import ""


Package Files


func PromptYesNo Uses

func PromptYesNo(prompt string, defaultAnswer bool) bool

PromptYesNo Returns true if the user has entered Y or YES, capitalization is ignored, we are matching elasticsearch behavior

func ReadInput Uses

func ReadInput() (string, error)

ReadInput Capture user input for a question

Package terminal imports 4 packages (graph) and is imported by 33 packages. Updated 2018-08-16. Refresh now. Tools for package owners.