A simple pattern for using System.CommandLine with dependency injection

added by DotNetKicks
9/24/2020 5:16:19 PM

34 Views

I've recently started using the new System.CommandLine packages when building CLI tools. I think they're a really useful addition to the C# libraries, but there isn't a huge amount of documentation out there about how best to use them so I thought I'd share some of the patterns we've been building up.


0 comments