Skip to content

review command ​

Report the lint findings on the changed lines only: staged, since a base, or uncommitted.

bash
fobis review [PATHS...] [options]

How to use it, with examples: Code quality.

All options ​

Arguments: PATHS...

OptionValueDefaultDescription
--fobos, -fTEXTSpecify a "fobos" file named differently from "fobos"
--fciAssume fobos inputs as case insensitive
--modeTEXTSelect a mode defined into a fobos file
--src, -sTEXTRoot-directory of source files [default: ./]
--baseTEXTReview the commits since the merge base with this reference (e.g. origin/master).
--stagedReview the staged change (pre-commit hook).
--worktreeWith --base: review up to the working tree (uncommitted changes included).
--contextINTEGER0Also report findings this many lines away from a changed line.
--selectTEXTRule ids or prefixes to run (repeatable, comma-separated; 'ALL').
--ignoreTEXTRule ids or prefixes to skip (repeatable, comma-separated).
--formatTEXTtextOutput format: text, markdown (pull-request comment), json, sarif, github.
--compiler-feedbackTEXTBuild log with compiler optimisation reports (see fobis lint).
--deepAdd an LLM risk summary of the change, with citations (text, markdown, json).
--deep-contextPrint what the model would receive for --deep, run no model.
--exit-zeroExit 0 even when findings are reported.
--varsetTEXTApply [varset:NAME] bindings.