soma.cell

soma run

Run a handler: soma run app.cell [args].

soma run is a command of soma, the toolchain of the Soma programming language (compiler, checker, verifier, test runner and server in one binary). Its options, as soma 3.2.4 prints them:

$ soma run --help
Run a handler: soma run app.cell [args]

Usage: soma-v3.2.4 run [OPTIONS] <FILE> [ARGS]...

Arguments:
  <FILE>     Path to the .cell source file
  [ARGS]...  Handler name, then its arguments (Int, Float, Bool, JSON for a List or Map, else String); without a name: `main`/`run`, or the only handler that fits

Options:
      --signal <SIGNAL>  Signal handler to call (default: auto-detect)
      --record           V1.1: record every handler invocation to a .somalog file (use `soma replay` to deterministically re-execute it). Default off — no perf overhead unless asked
      --fresh            Start from empty storage: delete `.soma_data/` beside the program first (only this program's tables when other programs' cells also keep data there)
      --stdlib <STDLIB>  Path to stdlib directory (default: auto-detect)
  -h, --help             Print help