Dotnet cli supports tab completion, it would be really handy to have support for template parameters / symbols as well?
https://docs.microsoft.com/en-us/dotnet/core/tools/enable-tab-autocomplete
To allow tab completion, dotnet new CLI needs to migrate to System.CommandLine parser.
Subtasks
Done
Not started / moved to separate issues
Justification
Customer impact
- better and more intuitive CLI UX, including help
- enables tab completion
Engineering impact
- removes dependency on old parser, requiring workarounds for source-build and separate repo maintanence costs
- easier cost of adding new commands and options for new features
Dotnet cli supports tab completion, it would be really handy to have support for template parameters / symbols as well?
https://docs.microsoft.com/en-us/dotnet/core/tools/enable-tab-autocomplete
To allow tab completion, dotnet new CLI needs to migrate to System.CommandLine parser.
Subtasks
Done
NewCommandwith delegates #4254Not started / moved to separate issues
TemplatePackageManager.GetTemplatesversion which uses cache only for tab completion and helpHandleAmbiguousTemplateGroupandHandleAmbiguousResultmethods. At the moment help delegate is not async, also not possible to use async methods in renderer. [system-command-line] error handling for ambiguous results on template instantiation #4227 (comment)nullin this case andTemplateCreatorshould handle this case properly. However if default if option without value is not set for parameter, having no value for option should not be allowed.Justification
Customer impact
Engineering impact