# `Urchin.Prompt.Argument`
[🔗](https://github.com/urth-inc/urchin/blob/v0.4.0/lib/urchin/prompt.ex#L11)

An argument accepted by a prompt template.

# `t`

```elixir
@type t() :: %Urchin.Prompt.Argument{
  description: String.t() | nil,
  name: String.t(),
  required: boolean() | nil,
  title: String.t() | nil
}
```

# `new`

```elixir
@spec new(keyword() | map()) :: t()
```

Builds a prompt argument from a keyword list or map.

# `to_map`

```elixir
@spec to_map(t()) :: map()
```

Serializes the argument to its wire shape.

---

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