dotnet new console -n AppName
or
dotnet new console --name AppName
dotnet new web -n AppName
dotnet new web --name AppName
dotnet new mvc -n AppName
or ``` dotnet new mvc –name AppName