dotnet new details template list is missed when -version is passed
- Dominant language
- No language data
- Stars
- 1.7k
- Forks
- 399
- Avg merge
- 3d 5h
- Merged PRs (30d)
- 39
Description
### Product
dotnet CLI (dotnet new)
### Describe The Bug
Running the command with the version specified doesn't display the list of templates:
dotnet new details NUnit3.DotNetNew.Template -version "1.7.0"
[NUnit3.DotNetNew.Template 1.7.0 | NuGet Package Explorer](https://nuget.info/packages/NUnit3.DotNetNew.Template/1.7.0)

### To Reproduce
Steps:
1. run
` dotnet new details NUnit3.DotNetNew.Template -version "1.7.0"`
2. Observe the output
No list of templates is available in the output.
### dotnet Info
.net 8 preview 7
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.