DEV Community

João Paulo de C. Lima
João Paulo de C. Lima

Posted on

DotNetGoF - Generate Gang of Four Design Pattern templates with .NET Core CLI

DotNetGoF is a CLI template for .NET Core.
You can check the Github repo and the Nuget Package.

It helps you to generate examples of Gang of Four.

How to install

Use the dotnet core CLI to install DotNetGoF.

dotnet new --install DotNetGoF::1.0.0
Enter fullscreen mode Exit fullscreen mode

How to use

After installed it you'll see a list of templates available. If you want to check if it's all there run

dotnet new 
Enter fullscreen mode Exit fullscreen mode

Alt Text

Choose a directory through your favorite terminal and run

dotnet new <SHORT_NAME> #example: dotnet new gofaf
Enter fullscreen mode Exit fullscreen mode

Enjoy it!

Top comments (0)