soma.cell

soma serve

Start HTTP server: soma serve app.cell [-p 8080] [--join host:port].

soma serve 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 serve --help
Start HTTP server: soma serve app.cell [-p 8080] [--join host:port]

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

Arguments:
  <FILE>  Path to the .cell source file

Options:
  -p, --port <PORT>      Port to listen on (default: 8080) [default: 8080]
      --host <HOST>      Address to bind (default: loopback only; 0.0.0.0 exposes the service to the network) [default: 127.0.0.1]
      --no-check         Serve even when `soma check` reports errors
      --no-schedule      Do not run `every` / `after` blocks (HTTP handlers only — for tests and debugging)
  -w, --watch            Watch for changes and auto-reload
      --verbose          Show parsed parameters and response body
      --join <JOIN>      Join an existing cluster node (host:port of its bus)
      --stdlib <STDLIB>  Path to stdlib directory (default: auto-detect)
  -h, --help             Print help