# `mix ksc.compile`
[🔗](https://github.com/PJUllrich/ksc/blob/v0.1.0/lib/mix/tasks/ksc.compile.ex#L1)

Compiles .ksy files to Elixir source files.

    mix ksc.compile <input_path> --output <output_dir> [--namespace <namespace>]

`input_path` is a single `.ksy` file or a directory containing `.ksy` files.
`--output` specifies the directory where `.ex` files are written (created if needed).
`--namespace` sets the module namespace prefix (default: `Ksc.Compiled`).

---

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