This content is part of a third party extension that is not supported by the Cake project.
For more information about this extension see
Cake.Prompt.
Summary
Prompts the user for input.
Syntax
public static string Prompt(this ICakeContext context, string message, TimeSpan timeout)
Attributes
| Type |
Description |
| CakeMethodAliasAttribute |
|
Parameters
| Name |
Type |
Description |
| context |
ICakeContext |
The context. |
| message |
string |
The message which is shown to the user. |
| timeout |
TimeSpan |
Timeout time, defaults to 30 seconds. |
Return Value
| Type |
Description |
| string |
The user input. |