Theme
Final CLIIn developmentBuild from source

Expose the final platform under the codepot command.

codepot
On this page

codepot CLI

The final Codepot command-line interface runs under:

This is distinct from the JavaScript rewrite's temporary release-line command:

and from the prototype package commands:

Current commands

The Rust repository currently documents:

Responsibilities

The CLI is a frontend over shared compiler and analysis crates. It should not define a second parser, semantic analyzer, formatter, or diagnostic model.

  • check runs semantic analysis without writing compiler output.
  • format uses the canonical Rust formatter.
  • compile emits the configured deterministic IR output.
  • inspect exposes modules, imports, symbols, AST, and IR for debugging and tooling.
  • doctor checks project configuration, roots, module uniqueness, server availability, and semantic analysis.
  • lsp --stdio provides a CLI fallback for launching the language server.

Build from source

The generated binary is typically:

Automation

JSON diagnostics are suitable for editor, CI, and other machine-readable integrations.

Public release-download and package-registry links are reserved as TBD until an official distribution channel is published.