Skip to content

bindings command ​

Generate bind(c) shims, a C header and a Python ctypes wrapper for the public procedures of the modules.

bash
fobis bindings [MODULE...] [options]

How to use it, with examples: Code quality.

All options ​

Arguments: MODULES...

OptionValueDefaultDescription
--nameTEXTBase name of the files [default: the project's].
--output-dir, -oTEXTbindingsWhere the files are written.
--fobos, -fTEXTSpecify a "fobos" file named differently from "fobos"
--fciAssume fobos inputs as case insensitive
--modeTEXTSelect a mode defined into a fobos file
--forceOverwrite existing files.
--printReport what would be bound; write nothing.
--jsonEmit structured JSON to stdout instead of human-readable output (useful for scripting / agents)