Description
Currently, when using the dotnet new command to search for or list templates, it is not possible to filter based on template options. This enhancement will allow users to precisely search for or list the templates they need by specifying options, both in search and list functionalities.
The command should filter based on the specified template options and return a list of matching templates. After implementing the feature, re-enable the following skipped tests:
- CanFilterByNonChoiceParameter
- IgnoresValueForNonChoiceParameter
- CanFilterByChoiceParameterWithValue
- CannotSearchTemplatesWithUnknownParameter
- CanFilterByChoiceParameter
- CanFilterByChoiceParameter
- CanFilterByNonChoiceParameter
- IgnoresValueForNonChoiceParameter
- CanFilterByChoiceParameterWithValue
- CannotListTemplatesWithUnknownParameter
- CannotListTemplatesWithUnknownValueForChoiceParameter
- CannotListTemplatesForInvalidFilters
- CanReadCliData
- CanReadCliDataFromDiff
Description
Currently, when using the dotnet new command to
searchfor orlisttemplates, it is not possible to filter based on template options. This enhancement will allow users to preciselysearchfor orlistthe templates they need by specifying options, both insearchandlistfunctionalities.The command should filter based on the specified template options and return a list of matching templates. After implementing the feature, re-enable the following skipped tests: