# `mix ex_gram.router.flat`
[🔗](https://github.com/rockneurotiko/ex_gram_router/blob/v0.1.0/lib/mix/tasks/ex_gram.router.flat.ex#L1)

Prints a flat, one-line-per-handler listing of all routes in an
`ExGram.Router` bot module. Unlike the tree view, every entry is a leaf
with its full accumulated filter chain (parent scope filters are prepended).

## Usage

    mix ex_gram.router.flat MyApp.Bot

## Example output

    MyApp.Bot handlers:
    MyHandlers    start/1    filters: [Command(:start)]
    Handlers      got_name/2 filters: [State(:registration), Text, State(:get_name)]
    Handlers      got_email/1 filters: [State(:registration), Text, State(:get_email)]
    Handlers      fallback/1 filters: []

The module must `use ExGram.Router` - it must export `__exgram_routing_tree__/0`.

---

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