dotnet-tpl
is a CLI tool for generating .NET project templates. This tool supports generating different types of .NET templates such as MVC and WebAPI, providing a quick start for your projects.
To use dotnet-tpl
, you need to have Go installed on your machine. If you don't have Go installed, you can download it from the official website.
-
Clone the repository:
git clone https://github.com/ortizdavid/dotnet-tpl.git
-
Navigate to the project directory:
cd dotnet-tpl
-
Build the project:
go build -o dotnet-tpl
-
Add the binary to your PATH environment variable:
-
Windows:
set PATH=%PATH%;<path-to-dotnet-tpl-binary>
-
Linux/macOS:
export PATH=$PATH:<path-to-dotnet-tpl-binary>
-
-
Alternatively, if you prefer a pre-built binary, download it from the bin folder according to your OS.
The dotnet-tpl
CLI tool generates .NET templates based on the specified template type.
dotnet-tpl --template <TEMPLATE_TYPE>