Skip to main content

bactopia-catalog

Generate machine-readable catalog of all Bactopia components.

Produces catalog.json containing workflows, subworkflows, and modules with their contracts (takes/emits), dependencies, and metadata. Replaces data/workflows.yml as the authoritative component index.

Optionally also renders llms.txt from a Jinja2 template when --llms-output is provided.

Usage

bactopia-catalog [OPTIONS]

Required Options

OptionTypeDefaultDescription
--bactopia-pathSTRINGDirectory where Bactopia repository is stored

Output Options

OptionTypeDefaultDescription
-o, --outputSTRINGOutput path for catalog.json (default: stdout)
--prettyBOOLfalsePretty-print JSON output
--llms-outputPATHAlso render llms.txt to this path. Uses the bundled template at bactopia/templates/bactopia/llms.txt.j2 unless --llms-template is provided
--llms-templatePATHJinja2 template for llms.txt. Defaults to the template bundled inside bactopia-py

Additional Options

OptionTypeDefaultDescription
--verboseBOOLfalsePrint debug related text
--silentBOOLfalseOnly critical errors will be printed
--version, -VBOOLfalseShow the version and exit.