-
Notifications
You must be signed in to change notification settings - Fork 414
Open
Labels
Area-CompletionsRelated to support for tab completionRelated to support for tab completionenhancementNew feature or requestNew feature or request
Description
There are some command line programs that are resource intensive to start, most of them provide interactive mode.
My app's interactive mode implementation:
while (true)
{
Console.Write("> ");
string? args = Console.ReadLine();
if (string.IsNullOrWhiteSpace(args))
{
Log.Warning("No args entered");
continue;
}
await rootCommand.InvokeAsync(args);
}But when I try to add tab completion, I get stuck. Currently, there's no public API to acquire suggestions manually and placing them into console. A build-in interactive mode API would be great.
vlada-shubina
Metadata
Metadata
Assignees
Labels
Area-CompletionsRelated to support for tab completionRelated to support for tab completionenhancementNew feature or requestNew feature or request