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