Conveniences for writing Decree.Store related Mix tasks.
Summary
Functions
Ensures the given module is a Decree.Store.
Returns true if module implements behaviour.
Parses the event store option from the given command line args list.
Functions
@spec ensure_event_store!(module(), list()) :: Decree.Store.t()
Ensures the given module is a Decree.Store.
Returns true if module implements behaviour.
@spec parse_event_store([term()]) :: [Decree.Store.t()]
Parses the event store option from the given command line args list.
If no event store option is given, it is retrieved from the application environment.