Adds a message for event driven notifications to the Messages project.
This command will add a MassTransit message to an existing Wrapt project using a formatted yaml or json file. The input file template.
This command will:
Messages project.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 message [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. |
craftsman add message -h
craftsman add message C:\fullpath\newmessage.yaml
craftsman add message C:\fullpath\newmessage.yml
craftsman add message C:\fullpath\newmessage.jsonWhen using the add message command, your template file is pretty simple. Check out the Adding a Message to an Existing Project example for more details.