retrofit op info
Reasoned reference documentation for a schema modification operator (SMO).
retrofit op info <Operator> one operator's reference view
retrofit op info <Operator> --as json that operator's descriptor as JSON
retrofit op info --dump human roll-up of all operators
retrofit op info --dump --as json the {"operators":[...]} document for tooling
For an operator's syntax (usage and positional order), run
`op add <Operator> --help`. The output is plain stdout; pipe it:
retrofit op info CreateTable | less
retrofit op info --dump --as json | jq '.operators[].name'
Usage:
retrofit op info [<operator>] [flags]
Flags:
--dump marshal every registered operator (bulk / machine path)
-h, --help help for info
--help-all show extended help (vocabulary, semantics, caveats)
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)
--schema <name> registered schema <name> (resolves via the chain when omitted)
-v, --verbose reveal info-tier advisories on stderr
Docs: https://docs.retrofit.sh/current/commands/retrofit-op-info/