Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Feature Request: "Did you mean ...?" prompting for command typos such as 'consle' #11162
Problem encountered on https://dotnet.microsoft.com/learn/dotnet/hello-world-tutorial/create
Provide details about the problem you are experiencing. Include your operating system version, exact error message, code sample, and anything else that is relevant.
Typo using command outputs excessive information:
The dotnet command should do error checking prior to outputting a welcome message and then use a 'Did you mean' algorithm to determine if the template in the command is a typo or has not been installed; then prompt the user with a group of candidate templates or offer to download templates from the .NET Foundation if available.
referenced this issue
Apr 15, 2019
@jamesBrosnahan thank you for the suggested feature!
It looks like System.CommandLine has implemented "typo correction" (see dotnet/command-line-api#377), so this would be one potential feature we could enable when we switch over to use the new API. I don't know if that's something we have on the schedule yet, though.