intor-cli
v1.0.2
Published
The Intor CLI
Readme
Overview
- discover — config discovery
- generate — schema and type generation
- check — static usage analysis
- validate — locale completeness validation
Commands
Running intor-cli without a command launches the interactive menu.
Discover
npx intor-cli discoverDiscovers Intor configs in the current workspace.
Generate
npx intor-cli generateGenerates schemas and TypeScript types from the default locale.
Check
npx intor-cli checkAnalyzes translator usage and reports diagnostics.
Validate
npx intor-cli validateValidates locale messages against generated schemas.
Design Guarantees
- Schemas and types are inferred only from the default locale.
- All locales are expected to share the same message shape.
