Cqrs.Command.derive_event

You're seeing just the macro derive_event, go back to Cqrs.Command module for more information.
Link to this macro

derive_event(name, opts \\ [])

View Source (macro)

Generates a Elixir.Cqrs.DomainEvent based on the fields defined in the Elixir.Cqrs.Command.

Accepts all the options that Elixir.Cqrs.DomainEvent accepts.