CLI

Run Jot source files or inline code.

Current CLI shape:

jot [options] [file]

Options

  • -h, --help: show help
  • -V, --version: show version
  • -e, --eval <code>: evaluate inline source

Examples

Run a file:

jot examples/01.jot

Evaluate inline code:

jot -e "print(1 + 2)"

Exit behavior

  • 0 on success
  • 1 for runtime/syntax/guest execution errors
  • 2 for CLI usage errors

The CLI currently prints execution time after invocation.