# `ZoiForge.Config`
[🔗](https://github.com/rusl-labs/zoi_forge/blob/v0.1.0/lib/zoi_forge/config.ex#L1)

Generation options for `ZoiForge.Generator`.

# `t`

```elixir
@type t() :: %ZoiForge.Config{
  output_dir: String.t(),
  prefix: String.t() | nil,
  source_dir: String.t()
}
```

# `new`

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

Builds a config struct from a keyword list or returns the given `%Elixir.ZoiForge.Config{}` unchanged.

When `:prefix` is `nil`, module names are derived from schema file paths only.

---

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