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.
- Assembly
- Cake
.Prompt .dll - Namespace
- Cake
.Common .IO - Containing Type
- PromptAliases
Syntax
public static string Prompt(this ICakeContext context, string message)
Attributes
| Type | Description |
|---|---|
| Cake |
Parameters
| Name | Type | Description |
|---|---|---|
| context | ICakeContext | The context. |
| message | string | The message which is shown to the user. |
Return Value
| Type | Description |
|---|---|
| string | The user input. |
