retrofit identify
Report which cut a pg_dump --schema-only is at, and how it has diverged
Usage:
retrofit identify <dump> [flags]
Flags:
--expect last assert the dump is at this cut: opid prefix or anchor (last/`seal`, optional `^`/`~N`); refuse `expect-mismatch` when it resolves elsewhere
-h, --help help for identify
--help-all show extended help (vocabulary, semantics, caveats)
--schema <name> registered schema <name> (resolves via the chain when omitted)
Global Flags:
--as string output mode: text | json (default "text")
-C, --chdir string treat <dir> as the working directory for the entire run
--config string retrofit.toml path (overrides discovery; also accepts $RETROFIT_CONFIG)
-f, --file string oplog file path; selects a registered [[schema]] path (overrides discovery)
--no-consolidate render every advisory occurrence instead of collapsing repeats
-q, --quiet count suppress the advisory tier on stderr; stack (-qq) to drop it whole (errors and results still print)
-v, --verbose reveal info-tier advisories on stderr
Docs: https://docs.retrofit.sh/current/commands/retrofit-identify/