-
Notifications
You must be signed in to change notification settings - Fork 397
Enable tab completion via CLI to System.CommandLine Migration #2191
Copy link
Copy link
Closed
Labels
7.0Cost:MWork that requires one engineer up to 2 weeksWork that requires one engineer up to 2 weeksPriority:1Work that is critical for the release, but we could probably ship withoutWork that is critical for the release, but we could probably ship withoutUser StoryA single user-facing feature. Can be grouped under an epic.A single user-facing feature. Can be grouped under an epic.parent:1240372triagedThe issue was evaluated by the triage team, placed on correct area, next action defined.The issue was evaluated by the triage team, placed on correct area, next action defined.
Milestone
Metadata
Metadata
Assignees
Labels
7.0Cost:MWork that requires one engineer up to 2 weeksWork that requires one engineer up to 2 weeksPriority:1Work that is critical for the release, but we could probably ship withoutWork that is critical for the release, but we could probably ship withoutUser StoryA single user-facing feature. Can be grouped under an epic.A single user-facing feature. Can be grouped under an epic.parent:1240372triagedThe issue was evaluated by the triage team, placed on correct area, next action defined.The issue was evaluated by the triage team, placed on correct area, next action defined.
Type
Fields
Give feedbackNo fields configured for issues without a type.
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