with Component
fun <C, T> AggregateParserBuilder<C>.withComponent(builderDecorator: CommandComponent.Builder<C, T>.() -> Unit): AggregateParserBuilder<C>
Creates a new command component using the given builderDecorator.
Return
the updated builder
Parameters
builder Decorator
decorator that prepares the command component