Skip to content

fetch command ​

Fetch GitHub-hosted Fortran dependencies listed in the fobos [dependencies] section and wire them into the build automatically.

bash
fobis fetch [options]

How to use it, with examples: Dependencies.

All options ​

OptionValueDefaultDescription
--fobos, -fTEXTSpecify a "fobos" file named differently from "fobos"
--fciAssume fobos inputs as case insensitive
--modeTEXTSelect a mode defined into a fobos file
--lmodesList the modes defined into a fobos file
--deps-dirTEXTDirectory for storing fetched dependencies [default: .fobis_deps or fobos [dependencies] setting]
--updateUpdate already-fetched dependencies (git fetch + re-checkout)
--no-buildOnly fetch dependencies, do not build them
--no-devSkip the test-only dependencies (:: dev), e.g. for a production build
--frozenCheck every dependency out at the commit of <deps_dir>/fobos.lock; abort if the lock is absent
--no-cacheDisable build artifact cache for fetched dependencies
--force-compileForce to (re-)compile all
--colorsActivate colors in shell prints
--log, -lActivate log file creation
--graphGenerate a dependencies graph via graphviz
--quiet, -qLess verbose output
--verboseExtremely verbose output for debugging
--jobs, -jINTEGER1Number of concurrent compilation jobs [default: 1]
--makefile, -mTEXTGenerate a GNU Makefile for building the project
--jsonEmit structured JSON to stdout instead of human-readable output (useful for scripting / agents)