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

OBSOLETE

FAKE0001 Use the Fake.Core.UserInput module instead

UserInputHelper

This module contains functions which allow to interactively input values

Functions and values

Function or valueDescription
color color code
Signature: color:ConsoleColor -> code:(unit -> '?14027) -> '?14027
Type parameters: '?14027
erasePreviousChar()
Signature: unit -> unit
getUserInput(prompt)
Signature: prompt:string -> string
Attributes:
[<Obsolete("FAKE0001 Use the Fake.Core.UserInput module instead")>]
OBSOLETE

FAKE0001 Use the Fake.Core.UserInput module instead

Return a string entered by the user followed by enter. The input is echoed to the screen.

getUserPassword(prompt)
Signature: prompt:string -> string
Attributes:
[<Obsolete("FAKE0001 Use the Fake.Core.UserInput module instead")>]
OBSOLETE

FAKE0001 Use the Fake.Core.UserInput module instead

Return a string entered by the user followed by enter. The input is replaced by '*' on the screen.

readString(echo)
Signature: echo:bool -> string