Adds a event driven message producer to your project.
This command will add a MassTransit producer to an existing Wrapt project using a formatted yaml or json file. The input file template.
This command will:
This command must to be ran from one of your bounded context directories for a project.
craftsman add producer [options] <filepath> #OR craftsman add producers [options] <filepath>
|filepath||The full filepath for the yaml or json file that lists the new entities that you want to add to your API.|
|-h, --help||Display help message. No filepath is needed to display the help message.|
craftsman add producer -h craftsman add producer C:\fullpath\newproducer.yaml craftsman add producer C:\fullpath\newproducer.yml craftsman add producer C:\fullpath\newproducer.json
When using the
add producer command, your template file is pretty simple. Check out the Adding a Producer to an Existing Project example for more details.