CLI

Provides static analysis and processing capabilities for the translation system.


Running intor-cli without specifying a command launches the interactive menu.

npx intor-cli

Discover

Discovers Intor configs in the current workspace.

npx intor-cli discover

Generate

Generates schemas and TypeScript types from the default locale.

npx intor-cli generate

Check

Analyzes translator usage and reports diagnostics.

npx intor-cli check

Validate

Validates locale messages against generated schemas.

npx intor-cli validate

Design Guarantees

  • Schemas and types are inferred only from the default locale.
  • All locales are expected to share the same message shape.