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:domain
command. This directory should have yoursln
file 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.json
When 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.