Cqrs.Command.option

You're seeing just the macro option, go back to Cqrs.Command module for more information.
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.