# `Commandex.Metadata`
[🔗](https://github.com/codedge-llc/commandex/blob/v0.6.0/lib/commandex/metadata.ex#L1)

Compile-time metadata of a command.

Every command struct holds a `Commandex.Metadata` struct in its `__meta__`
field. `Commandex.command/1` builds it, and `new/1` reads it to cast the
given parameters.

## Attributes

- `params` - A map of each parameter name to its `{type, opts}` definition.

# `t`

```elixir
@type t() :: %Commandex.Metadata{
  params: %{optional(atom()) =&gt; {Commandex.Type.t(), Keyword.t()}}
}
```

---

*Consult [api-reference.md](api-reference.md) for complete listing*
