Archon CLI
Human-facing wrapper over the export pipeline. Apache-2.0, zero runtime dependencies, Node ≥ 18.
| File | Role |
|---|---|
package.json | npm package manifest; bin.archon exposes the CLI on PATH |
bin/archon.mjs | Entry point; subcommand router; help / version / error handling |
lib/common.mjs | Shared: flag parsing, source-repo auto-discovery, version read |
lib/init.mjs | archon init <target-dir> — scaffold + post-init banner |
lib/doctor.mjs | archon doctor [project-dir] — three-layer audit (structural / contract / hints) |
lib/export.mjs | archon export <output-dir> — standalone kit export |
See the CLI README for the full user-facing command reference.