SyncPrompts

cue4s.SyncPrompts
class SyncPrompts(underlying: Prompts)

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def confirm(label: String, modify: Confirmation => Confirmation, default: Boolean): Completion[Boolean]
def double(label: String, modify: (NumberInput[Double]) => NumberInput[Double]): Completion[Double]
def float(label: String, modify: (NumberInput[Float]) => NumberInput[Float]): Completion[Float]
def int(label: String, modify: (NumberInput[Int]) => NumberInput[Int]): Completion[Int]
def multiChoiceAllSelected(label: String, options: List[String], modify: MultipleChoice => MultipleChoice): Completion[List[String]]
def multiChoiceNoneSelected(label: String, options: List[String], modify: MultipleChoice => MultipleChoice): Completion[List[String]]
def multiChoiceSomeSelected(label: String, options: List[(String, Boolean)], modify: MultipleChoice => MultipleChoice): Completion[List[String]]
def password(label: String, modify: PasswordInput => PasswordInput): Completion[Password]
def singleChoice(label: String, options: List[String], modify: SingleChoice => SingleChoice): Completion[String]
def text(label: String, modify: Input => Input): Completion[String]

Exports

Defined exports

def run[R](prompt: Prompt[R] | PromptChain[R]): Completion[R]
Exported from PromptsPlatform