github.com/hazelops/ize@v1.1.12-0.20230915191306-97d7c0e48f11/pkg/terminal/input.go (about) 1 package terminal 2 3 // Input is the configuration for an input. 4 type Input struct { 5 // Prompt is a single-line prompt to give the user such as "Continue?" 6 // The user will input their answer after this prompt. 7 Prompt string 8 9 // Style is the style to apply to the input. If this is blank, 10 // the output won't be colorized in any way. 11 Style string 12 13 // True if this input is a secret. The input will be masked. 14 Secret bool 15 }