Cqrs.Options (cqrs_tools v0.2.25) View Source

Link to this section Summary

Functions

Describes a supported option for this command.

Link to this section Functions

Link to this macro

option(name, hint, opts)

View Source (macro)

Specs

option(name :: atom(), {:enum, possible_values :: list()}, keyword()) :: any()
option(name :: atom(), hint :: atom(), keyword()) :: any()

Describes a supported option for this command.

Options

  • :default - this default value if the option is not provided.
  • :description - The documentation for this option.