Ask<T>(string) Method
Displays a prompt to the user.
public static T Ask<T>(string prompt)
- Namespace
- Spectre
.Console - Containing Type
- AnsiConsole
Parameters
-
T
- The prompt result type.
Parameters
- string prompt
- The prompt markup text.
Returns
- T