supermodel login), restore calls the Supermodel API for an AI-powered analysis including semantic domains, external dependencies, and critical file ranking.
Without an API key (or with --local), restore performs a local scan of the repository file tree and produces a simpler structural summary.
Synopsis
Flags
| Flag | Description |
|---|---|
--dir | Project directory (default: cwd) |
--local | Use local file scan instead of the Supermodel API |
--max-tokens | Maximum token budget for the output (default 2000) |
-h, --help | Help for restore |