mo check FILE |
Whole-program type, ability, capability, and exhaustiveness check (--json, --emit=core, --emit=bytecode). |
mo run FILE [ARGS...] |
Compile and run .mo, or execute verified .bc bytecode directly (--root, --state-dir). |
mo test FILE |
Run examples, promises (with non-vacuity checks and shrinking), tests, and automatic service/actor recovery (--mutants, --only, --in, --list, --json). |
mo format FILE... |
Canonical 100-column formatter (--stdin for editor integration). |
mo fix FILE... |
Apply unambiguous single-fix compiler suggestions automatically. |
mo emit FILE -o OUT.bc |
Compile and emit portable, verified MOBC v0.3 bytecode. |
mo install FILE |
Package a .mo CLI onto ~/.local/bin as pre-verified .bc bytecode. |
mo serve FILE |
Serve a declarative api (--bind, --port, --workers, --watch, --data) or durable MCP service (--port, --data, --admin-socket). |
mo diff [OLD] NEW |
Report capability authority, wire API, saved-state schema, and behavioral contract deltas against Git HEAD or OLD. |
mo fetch |
Fetch a verified, mode-0600 state or failure export (.moex) over --admin-socket. |
mo push FILE |
Push a typed live upgrade (with optional migration) to a running service over --admin-socket. |
mo rehearse |
Rehearse a candidate upgrade and migration offline against an exported snapshot. |
mo history DIR |
Inspect a stopped service data directory (snapshots, log tail, retained failures). |
mo replay FILE |
Replay a captured failure offline with exact inputs/budgets and verify a candidate --fix. |
mo query FILE FN |
Run a pure Mo query against live service state, an exported .moex, or a captured failure. |
mo guide |
Print the embedded build guide, or the Language Reference with --reference. |