Learn how to get up and running with Wrapt.
To start, you'll need install the Foundation API Template. This is the base template that our CLI will use when creating a new Web API.
dotnet new --install Foundation.Api::0.3.0Note that on the off chance that you have another dotnet template on your machine with a
foundationshort name, you will need to uninstall that template before using acraftsman new:apicommand. To get the uninstall command rundotnet new -uand find the uninstall command listed for your foundation template.
Install the Craftsman tool globally. This is going to be the workhorse behind all of our commands.
dotnet tool install -g craftsmanRun any of the below for a list of available commands
craftsman
craftsman list
craftsman -h
craftsman --helpThat's it! Now let's look at an example to see it in action.
To keep up to date with the latest Craftsman capabilities, first update the Foundation template.
dotnet new foundation.api --update-applyThen you can update Craftsman:
dotnet tool update -g craftsman👀 Docs Feedback
See something missing or light in content in the docs? Let me know! I want the Wrapt docs to be as through and helpful as possible!