Skip to content

bnaya-payoneer/TestTemplate

Repository files navigation

Setup

  • Replace TEMPLATE_NAME, TEMPLATE_SHORT_NAME,PROJECT_DEFAULT_NAME, GIT_HUB_USER, AUTOR, TEMPLATE_TITLE with the name of your template
    • Bnaya.Dotnet.Template.csproj
    • templates/Skeleton/template.json
    • ReadMe.md
  • Replace AUTOR with the name of your template (templates/Skeleton/template.json)
  • Take a look at the license and change it if needed
  • Replace the Icon

CLI

dotnet new TEMPLATE_SHORT_NAME -n Company.HelloWorld
dotnet new TEMPLATE_SHORT_NAME -n Company.HelloWorld --user git-user --email [email protected] --enable-ci --version net7.0
dotnet new TEMPLATE_SHORT_NAME -n Company.HelloWorld -u git-user -e [email protected] -ci -v  net7.0
# dotnet build --force
dotnet pack -c Release --force -o .
# dotnet new install . 
dotnet new install TEMPLATE_NAME
dotnet new TEMPLATE_SHORT_NAME -h
dotnet new TEMPLATE_SHORT_NAME -n {name-of-the-project}
# dotnet new uninstall {name-of-the-project}
# dotnet new uninstall .
dotnet new uninstall TEMPLATE_NAME

Creating a custom .NET CLI template

NuGet

Attribution

Icon

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages