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

Command-line interface entrypoint for the Tinkex escript.

`main/1` is a thin wrapper over `run/1` so the CLI can be tested without halting
the VM. The checkpoint command drives the Service/Training client flow to save
weights; the run command remains scaffolded for the next phase.

# `main`

```elixir
@spec main([String.t()]) :: no_return()
```

Entry point invoked by the escript executable.

# `run`

```elixir
@spec run([String.t()]) :: {:ok, term()} | {:error, term()}
```

Parses arguments and dispatches to the requested subcommand.

---

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