# `ExAthena.Tools.Glob`
[🔗](https://github.com/udin-io/ex_athena/blob/v0.7.1/lib/ex_athena/tools/glob.ex#L1)

Finds files matching a glob pattern, relative to `ctx.cwd`.

Arguments:

  * `pattern` (required) — `Path.wildcard/1`-compatible pattern, e.g. `lib/**/*.ex`.
  * `max_results` (optional, default 200) — cap on the number of paths returned.

Result is a newline-separated list of paths relative to `ctx.cwd`.

---

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