init command creates a default .glotrc.json configuration file in your project root.
Usage
What It Creates
Runningglot init creates a .glotrc.json file with sensible defaults:
Behavior
- Creates the file in the current directory
- Fails if
.glotrc.jsonalready exists (won’t overwrite) - Uses defaults suitable for typical Next.js projects
Example
After Initialization
After creating the config file, you should:Review Paths
Check that
includes matches your project structure. Adjust paths if your
components are in different directories.Related
Configuration
Full configuration reference