templating
templating copied to clipboard
Lead to `dotnet new create <template name>`
Currently dotnet new create subcommand is hidden.
In case the template matches subcommand name (list, install, uninstall) the only way to instantiate it is using dotnet new create.
Consider creating the lead to the scenario
Some considerations:
- make
createsubcommand visible - allow this scenario via tab completion when conflict exists
- create the lead from subcommand in case the template with same short name exists (example: when running
dotnet new listandlisttemplate is available, show note similar to:To run template with short-name 'list', use dotnet new create list.
Should we consider blacklisting top level commands from allowed template names/shortnames?
Should we consider blacklisting top level commands from allowed template names/shortnames?
Added to: https://github.com/dotnet/templating/issues/3828