dp add
The ‘dp add’ command adds capabilities to the microservices, accelerating development stages and increasing productivity.
You’ll have a set of amazing commands at your disposal that allow you to add an Aggregate root, an Entity, a Value Object, Domain Event, Domain Services, Event Subscribe, external components, and other resources.
Adding an aggregate root
dp add aggregate Order
Adding an entity
dp add entity Item -agg Order
Adding a Value Object
dp add valueobject Status -agg Order
Adding a Value Object
dp add valueobject Email
Adding a Domain Event
dp add domainevent TransferHappened
Adding a Domain Event linked to an aggregate root
dp add domainevent OrderCopied -agg Order
Subscribe to an event and link to an Application Service
dp add subscribe OrderCreated -as PaymentService
Adding a Domain Service
dp add domainservice BankTransfer
Adding OIDC Authentication Flow
dp add web login
Adding external nuget components using adapter extensions
dp add extensions WhatsApp