How to create ASP.NET Core Api project structure with dotnet cli

from blog Just Some Code, | ↗ original
This post is part of my Advent of Code 2022. While looking at C# Advent 2022, I found the Humble Toolsmith page and its post Create Test Solutions by Scripting the Dotnet CLI. That post reminded me I have my own script to create the folder structure for ASP.NET Core API projects. Currently, I work with a client where I have to engage in short...