*Epic CLI Manual — [index](../MANUAL.md)*

# 3. Configuration: AWS, MySQL, fonts

| Flag | Default | Purpose |
|---|---|---|
| `--aws=FILE` | `./aws.ini` if present | AWS credentials INI for `s3://`/`aws://` paths. |
| `--mysql=FILE` | `./mysql.ini` if present | MySQL connection INI (application data reads/writes; this CLI owns no schema). |
| `--fonts-dir=DIR` | `./fonts` if it exists, else `/datahandler/fonts` | Font resolution root for `--compile` (`{Family}-{Style}.ttf`). Accepted alongside any mode. |

The fonts fallback chain in full: an explicit `--fonts-dir=DIR` always wins; otherwise a
`fonts/` directory under the working directory is used when it exists; otherwise the legacy
`/datahandler/fonts` location. TrueType (`.ttf`) only.

> **Trap:** the `./fonts` branch is a *precedence* rule, not just a default — creating a
> `fonts/` directory in the invocation CWD silently repoints font resolution away from
> `/datahandler/fonts`, with no warning. Don't leave stray `fonts/` directories where the
> CLI is invoked from (on fleet boxes that CWD is `/datahandler/scripts`).
