# `Tinkex.CLI.Pagination`
[🔗](https://github.com/North-Shore-AI/tinkex/blob/v0.4.0/lib/tinkex/cli/pagination.ex#L1)

Pagination logic for listing checkpoints and training runs.

# `cursor_total`

Extracts the total count from a cursor.

# `initial_page_limit`

Determines the initial page limit based on the requested limit and page size.

# `paginate_with`

Paginates through results using a fetch function.

# `pagination_target`

Calculates the pagination target based on limit, total count, and offset.

---

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