Note: This is the migration API reference for FAKE 5. The new (modularized) API documentation can be found here. If the API is already migrated you can check here if exists in a module. More information regarding the migration can be found here

UserInput

Helpers for capturing user input

Sample

1: 
UserInput.getUserInput prompt

Functions and values

Function or valueDescription
UserInput.color color code
Signature: color:ConsoleColor -> code:(unit -> '?17416) -> '?17416
Type parameters: '?17416
UserInput.erasePreviousChar()
Signature: unit -> unit
UserInput.getUserInput(prompt)
Signature: prompt:string -> string
UserInput.getUserPassword(prompt)
Signature: prompt:string -> string
UserInput.readString(echo)
Signature: echo:bool -> string