Command: compose
The turbot compose command composes a mod by resolving all inclusion directives starting from package.source, outputting to package.main.
Mod definitions may be split into multiple files. Directives may be used to define how to compose a mod.
Syntax
The following directives are supported:
+object- Parse YAML, YML, or JSON files and merge into an object+string- Include file content as a string+array- Parse YAML, YML, JSON, or CSV files and concatenate into an array
The value of each directive may be a single glob or an array of globs. The +raw directive may be used as one of the array values to include raw data alongside the parsed data.
Usage
Usage: turbot compose [options]
The supported options are:
--dir or -d: Path to the Turbot Guardrails mod.--force: Force creation of output file even if it exists and there are no changes to source.--help: Show help.