Skip to content
docs
Arxo ↗

Reference

For LLMs7 sections

Every command of the published tool, with its one-line form. The table is built from the binary’s own list — it holds no hand-written rows — and law --help carries every flag behind each line. The same list as JSON is one call away: law help --json.

CommandUsageWhat it does
law initlaw init <dir> [--name <package>] [--template case|package] [--json]a new case folder or canon package
law addlaw add <name>[@<version>] | <file.arxo> [--project <dir>] [--registry <ID=LOCATION>]… [--dry-run] [--json]pin a dependency in law.lock and install its bytes
law installlaw install [--from <file.arxo>] [--project <dir>] [--registry <ID=LOCATION>]… [--offline] [--dry-run] [--recover] [--json]restore deps/ from law.lock
law updatelaw update <name>[@<version>] [--project <dir>] [--registry <ID=LOCATION>]… [--dry-run] [--replay <dir>] [--json]move a pin, replaying saved answers with —replay
law outdatedlaw outdated [--project <dir>] [--registry <ID=LOCATION>]… [--json]pinned vs published versions; the lock is untouched
CommandUsageWhat it does
law packlaw pack --out <dir|file.arxo> | --answers … | --runs … [--project <dir>] [--json]release artifact: a directory or a portable .arxo container
law unpacklaw unpack <file.arxo> --out <dir> [--json]check and expand a container tree
law inspectlaw inspect <document.json|request.json|file.arxo> […]a saved evaluation document, or a container’s contents
law keylaw key new --out <file>a new Ed25519 signing key
law signlaw sign <file.arxo> --key <file> [--role publisher|executor]sign a container
law publishlaw publish <artifact> (--registry <ID>=<dir> | --candidate <manifest.json> --bytes <dir>) [--json]publish into a registry directory or prepare a candidate
CommandUsageWhat it does
law asklaw ask [<case>] (--query … | --query-json <file> | --card <id>) [--out <dir>] [--format json|text|brief]a question to a case; —out saves the evaluation
law caselaw case questions|check|diff|document|facts … [--json]questions, facts with provenance, documents, diffs
law evallaw eval <dir|file.arxo> [--answer <id>] [--out <dir>]replay a saved evaluation
CommandUsageWhat it does
law typeslaw types <package> [--out <file>]CLIR .d.ts declarations of a package
law fixlaw fix imports [<package> | --workspace <root> | --changed <revision>] [--check] [--json]use self::{…} blocks from the resolution journal
law testlaw test [<package>] [--family <f>]… [--file <path>]… [--grep <substring>] [--json]the package’s declared scenarios over the law.lock world
law auditlaw audit [<package>] [--profile static] [--clir <dir>] [--min-bytes <N>] [--json]formalization measure of a package; executes no cases
CommandUsageWhat it does
law servelaw serve --world <dir|profile.json> (--journal <dir> | --no-journal) [--host <address>] [--port <N>]pinned-world HTTP service: POST /v1/ask
law replay-recordlaw replay-record --world <dir> --journal <dir> [--decision <id>]… [--json]replay the decision journal
law check-filelaw check-file --world <dir> --template <template> --questions <json> --input <csv|jsonl> --out <dir>batch check of a file of cases
CommandUsageWhat it does
law enginelaw engine <command> …low-level engine commands
law versionlaw version [--json]tool version, semantics lines, binary hash
  • The interactive session, law shell, is not in the published tool yet: Shell.
  • ask, case and eval end in an evaluation document: How to read an answer.
  • serve answers over HTTP with the same documents: the Fact protocol for what goes in, the Decision protocol for what comes back.
  • engine check reports diagnostic codes: every code is explained under Diagnostics.
  • Questions about the model itself — rules, predicates, sources — belong to LawQL, not to this table.

Documentation for Arxo. Writings — blog.arxo.io.

Anonymous visit counts on stats.arxo.io, no cookies.