init command is the entry point for using repr. It scans a directory for git repositories and sets up the local configuration.
Usage
Arguments
| Argument | Type | Description |
|---|---|---|
PATH | Path | Directory to scan. Defaults to ~/code if not provided. |
Examples
Scan your home code directory:Behavior
- Scans the target directory recursively for
.gitfolders. - Filters out archived or empty repositories.
- Prompts you to confirm which repositories to track.
- Saves the configuration to
~/.repr/config.json.

