DEV Community

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

Posted on

1 1

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!

Sentry image

See why 4M developers consider Sentry, “not bad.”

Fixing code doesn’t have to be the worst part of your day. Learn how Sentry can help.

Learn more

Top comments (0)

Billboard image

Create up to 10 Postgres Databases on Neon's free plan.

If you're starting a new project, Neon has got your databases covered. No credit cards. No trials. No getting in your way.

Try Neon for Free →

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay