Skip to content

CLI - allow second parameter to specify name of project/item template #3009

Open
@jamesmontemagno

Description

@jamesmontemagno

Today you have to pass in the -n argument for the name of the project or template. For Example

dotnet new page -n MyPage -na MyNamespace

You almost always are going to specify -n for item templates, ideally you could just pass in a second parameter which is the next default, in this case -n.

This would pair great with #3008, which would allow for

dotnet new class MyClass

Metadata

Metadata

Assignees

Labels

Priority:1Work that is critical for the release, but we could probably ship withoutarea: CLIRelated to dotnet new CLI (usually dotnet/TemplateEngine.CLI source code)featureThe issue defines new feature.good first issueeasy issue, good for first-time contribution to the repotriagedThe issue was evaluated by the triage team, placed on correct area, next action defined.

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions