# `mix ex_ratatui.gen.burrito`
[🔗](https://github.com/mcass19/ex_ratatui/blob/v0.10.0/lib/mix/tasks/ex_ratatui.gen.burrito.ex#L2)

Patches the current project to ship as a single-file native binary via
[Burrito](https://github.com/burrito-elixir/burrito).

Adds `{:burrito, "~> 1.5"}`, wires `releases/0` with the four standard
targets (linux, macos, macos_silicon, windows), creates a CLI module
with a `main/1` entry point, adds a `.mise.toml` pinning `zig 0.15.2`,
and — when `--ci github` is passed — drops a release workflow into
`.github/workflows/`.

See `guides/packaging_with_burrito.md` for the end-to-end story this
task automates.

## Example

    mix ex_ratatui.gen.burrito --tui-module MyTui.TUI
    mix ex_ratatui.gen.burrito --tui-module MyTui.TUI --ci github

## Options

  * `--tui-module` (required) — the module that `use ExRatatui.App`. The
    generated CLI calls `that_module.start_link/1` and monitors it.
  * `--ci` — `none` (default) or `github`. With `github`, drops
    `.github/workflows/release.yml` that builds and publishes binaries
    on tag push.

---

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