Adds a new feature and all associated files to a bounded context.
This command will add a new feature file using prompts, so no template needed here! The process will let you select any of the CRUD features as well as an ad hoc feature.
This command must be ran from the bounded context directory for a project that was made using the
new:domain
oradd:bc
command. It should have asrc
andtest
directory.
craftsman add:feature [options]
or
craftsman new:feature [options]
Option | Description |
---|---|
-h, --help | Display help message. No filepath is needed to display the help message. |
AddCustomer
or GetCustomer
.AddCustomerCommand
or GetCustomerQuery
.bool
false
Domain
directory). You can leave this blank to add it to the Domain
directory directly. craftsman add:feature -h
craftsman add:feature
craftsman new:feature