SuperTool is a sample console application following vertical slice architecture and features command line processing superpowers.
Make sure you've got .NET Core SDK 8.0 from the usual place on the Internet.
dotnet build
dotnet run -p src/SuperTool -- math -l 2 -r 3 -op add
This sample is built on the shoulders of the following libraries:
- CommandLineUtils: processing command line arguments and executing them neatly.
- MediatR: low-ambition library for decoupling in-process messages
- AutoMapper: mapping objects onto each other
- Microsoft.Extensions.Hosting: Generic Host for .NET Core along with all the extras
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate. (no tests yet, but we'll get there)