New Domain Command

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

craftsman new domain [options] <filepath>

New Api Arguments

ArgumentDescription
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

OptionDescription
-h, --helpDisplay help message. No filepath is needed to display the help message.

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

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