Adds a new bounded context to a domain project.
This command can add one or more new bounded contexts to your Wrapt project using a formatted yaml or json file. The input file template only requires a list of one or more entities.
This command must to be run from the root directory for a project that was made using the
new:domaincommand. This directory should have yourslnfile inside of it.
craftsman add:bc [options] <filepath>| Argument | Description |
|---|---|
| filepath | The full filepath for the yaml or json file that lists the new entities that you want to add to your API. |
| Option | Description |
|---|---|
| -h, --help | Display help message. No filepath is needed to display the help message. |
| -v | Show verbose output. |
craftsman add:bc -h
craftsman add:bc C:\fullpath\new-bc.yaml
craftsman add:bc C:\fullpath\new-bc.yml
craftsman add:bc C:\fullpath\new-bc.jsonThe examples on the project tutorial and the bounded contexts template cover how to add new bounded contexts.