New Domain Command

Scaffolds out Web API files and projects based on a given template file in a json or yaml format.

craftsman new:api [options] <filepath>

New Api Arguments

filepathThe full filepath for the yaml or json file that describes your domain using a proper Wrapt format. Details on this file setup can be found on the domain-template page.

New Api Options

-h, --helpDisplay help message. No filepath is needed to display the help message.
-vShow verbose output.

New Api Example Commands

craftsman new:domain -h
craftsman new:domain C:\fullpath\domain.yaml
craftsman new:domain C:\fullpath\domain.yml
craftsman new:domain C:\fullpath\domain.json

New Domain Example

New Domain Template File

The examples on the project tutorial covers how to create a new domain.