Installation

Learn how to get up and running with Wrapt.

Prerequisites

Getting Started

  1. 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.0

    Note that on the off chance that you have another dotnet template on your machine with a foundation short name, you will need to uninstall that template before using a craftsman new:api command. To get the uninstall command run dotnet new -u and find the uninstall command listed for your foundation template.

  2. Install the Craftsman tool globally. This is going to be the workhorse behind all of our commands.

    dotnet tool install -g craftsman
  3. Run any of the below for a list of available commands

    craftsman 
    craftsman list
    craftsman -h
    craftsman --help
  4. That's it! Now let's look at an example to see it in action.

Staying Up to Date

To keep up to date with the latest Craftsman capabilities, first update the Foundation template.

dotnet new foundation.api --update-apply

Then you can update Craftsman:

dotnet tool update -g craftsman