Skip to content

query command ​

Answer a question about the code from the static analysis of the mode's sources.

bash
fobis query KIND [ARGUMENT] [options]

How to use it, with examples: Code quality.

All options ​

Arguments: KIND ARGUMENT

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: ./]
--jsonEmit structured JSON to stdout instead of human-readable output (useful for scripting / agents)