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, string defaultResult)
Attributes
| Type |
Description |
| CakeMethodAliasAttribute |
|
Parameters
| Name |
Type |
Description |
| context |
ICakeContext |
The context. |
| message |
string |
The message which is shown to the user. |
| defaultResult |
string |
Value supplied if the user simply returns with no input. |
Return Value
| Type |
Description |
| string |
The user input. |