Adds a message bus to your project.
This command will add a MassTransit message bus to an existing Wrapt project using a formatted yaml or json file. This is the input file template.
This command will:
Messages
project in your root and add reference to it in your WebApi
project.This command must be ran from one of your bounded context directories for a project.
craftsman add bus [options] <filepath>
Argument | Description |
---|---|
filepath | The filepath for the yaml or json file that describes the bus that you want to add to your API. This is optional for this command. |
💡 The filepath is optional when using this command since all of the settings have safe defaults. This file is only needed if you want to change those settings
Option | Description |
---|---|
-h, --help | Display help message. No filepath is needed to display the help message. |
craftsman add bus
craftsman add bus C:\fullpath\newbus.yaml
craftsman add bus C:\fullpath\newbus.yml
craftsman add bus C:\fullpath\newbus.json