soma.cell

soma fmt

Format .cell files to the canonical layout: soma fmt app.cell | soma fmt . --check.

soma fmt 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 fmt --help
Format .cell files to the canonical layout: soma fmt app.cell | soma fmt . --check

Usage: soma-v3.2.4 fmt [OPTIONS] [PATHS]...

Arguments:
  [PATHS]...  Files or directories (every .cell under a directory)

Options:
      --check            List the files that are not canonical and exit 1 — writes nothing (for CI)
      --json             Output as JSON (for agents)
      --stdlib <STDLIB>  Path to stdlib directory (default: auto-detect)
  -h, --help             Print help