Tinkex.CLI (Tinkex v0.3.4)

View Source

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.

Summary

Functions

Entry point invoked by the escript executable.

Parses arguments and dispatches to the requested subcommand.

Functions

main(argv)

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

Entry point invoked by the escript executable.

run(argv)

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

Parses arguments and dispatches to the requested subcommand.