{
  "commands": {
    "decomposer:decompose": {
      "aliases": [],
      "args": {},
      "description": "Decompose large metadata files into smaller files.\n\nYou should run this after you retrieve metadata from an org.",
      "examples": [
        "`sf decomposer decompose -m \"flow\" -f \"xml\" --prepurge --postpurge`",
        "`sf decomposer decompose -m \"flow\" -m \"labels\" -f \"xml\" --prepurge --postpurge`",
        "`sf decomposer decompose -m \"flow\" -f \"xml\" -i \"force-app\"`",
        "`sf decomposer decompose -x \"manifest/package.xml\" --postpurge`",
        "`sf decomposer decompose -x \"manifest/package.xml\" -m \"flow\"`"
      ],
      "flags": {
        "json": {
          "description": "Format output as json.",
          "helpGroup": "GLOBAL",
          "name": "json",
          "allowNo": false,
          "type": "boolean"
        },
        "flags-dir": {
          "helpGroup": "GLOBAL",
          "name": "flags-dir",
          "summary": "Import flag values from a directory.",
          "hasDynamicHelp": false,
          "multiple": false,
          "type": "option"
        },
        "metadata-type": {
          "char": "m",
          "name": "metadata-type",
          "required": false,
          "summary": "The metadata suffix to process, such as 'flow', 'labels', etc., or an exact type name such as 'CustomSite' for a type whose suffix is shared with another type. Required unless --manifest is provided.",
          "hasDynamicHelp": false,
          "multiple": true,
          "type": "option"
        },
        "manifest": {
          "char": "x",
          "name": "manifest",
          "required": false,
          "summary": "Path to a package.xml manifest file. When provided, only the metadata listed in the manifest is decomposed. If --metadata-type is also provided, the intersection of the two is used.",
          "hasDynamicHelp": false,
          "multiple": false,
          "type": "option"
        },
        "prepurge": {
          "name": "prepurge",
          "required": false,
          "summary": "Purge directories of pre-existing decomposed files.",
          "allowNo": false,
          "type": "boolean"
        },
        "postpurge": {
          "name": "postpurge",
          "required": false,
          "summary": "Purge the original files after decomposing them.",
          "allowNo": false,
          "type": "boolean"
        },
        "format": {
          "char": "f",
          "name": "format",
          "required": false,
          "summary": "File format for the decomposed files.",
          "default": "xml",
          "hasDynamicHelp": true,
          "multiple": false,
          "options": [
            "xml",
            "json",
            "yaml",
            "json5"
          ],
          "type": "option"
        },
        "ignore-package-directory": {
          "char": "i",
          "name": "ignore-package-directory",
          "required": false,
          "summary": "Ignore a package directory.",
          "hasDynamicHelp": false,
          "multiple": true,
          "type": "option"
        },
        "strategy": {
          "char": "s",
          "name": "strategy",
          "required": false,
          "summary": "Strategy to follow when decomposing files.",
          "default": "unique-id",
          "hasDynamicHelp": true,
          "multiple": false,
          "options": [
            "unique-id",
            "grouped-by-tag"
          ],
          "type": "option"
        },
        "decompose-nested-permissions": {
          "char": "p",
          "name": "decompose-nested-permissions",
          "required": false,
          "summary": "Additionally decompose object and field permissions on a permission set when strategy is set to \"grouped-by-tag\".",
          "allowNo": false,
          "type": "boolean"
        },
        "config": {
          "char": "c",
          "name": "config",
          "required": false,
          "summary": "Load all settings from .sfdecomposer.config.json in the repo root. When set, all top-level fields (metadataSuffixes, manifest, prePurge, postPurge, decomposedFormat, strategy, ignorePackageDirectories, decomposeNestedPermissions, updateForceignore, updateGitattributes) and the \"overrides\" array are applied. Explicit CLI flags take precedence over config values. Makes --metadata-type and --manifest optional when either is defined in the config.",
          "allowNo": false,
          "type": "boolean"
        },
        "update-forceignore": {
          "name": "update-forceignore",
          "required": false,
          "summary": "Automatically add decomposed file paths to .forceignore after successful decomposition.",
          "allowNo": false,
          "type": "boolean"
        },
        "update-gitattributes": {
          "name": "update-gitattributes",
          "required": false,
          "summary": "Automatically add root metadata file patterns to .gitattributes after successful decomposition, suppressing noisy diffs on recomposed files while keeping them tracked for tools like sfdx-git-delta.",
          "allowNo": false,
          "type": "boolean"
        }
      },
      "hasDynamicHelp": true,
      "hiddenAliases": [],
      "id": "decomposer:decompose",
      "pluginAlias": "sf-decomposer",
      "pluginName": "sf-decomposer",
      "pluginType": "core",
      "strict": true,
      "summary": "Decomposes the metadata files created by retrievals.",
      "enableJsonFlag": true,
      "isESM": true,
      "relativePath": [
        "lib",
        "commands",
        "decomposer",
        "decompose.js"
      ],
      "aliasPermutations": [],
      "permutations": [
        "decomposer:decompose",
        "decompose:decomposer"
      ]
    },
    "decomposer:recompose": {
      "aliases": [],
      "args": {},
      "description": "Recompose the decomposed files into deployment-compatible metadata files.\n\nYou should run this before you deploy decomposed metadata to an org.",
      "examples": [
        "`sf decomposer recompose -m \"flow\" --postpurge`",
        "`sf decomposer recompose -m \"flow\" -i \"force-app\"`",
        "`sf decomposer recompose -x \"manifest/package.xml\" --postpurge`",
        "`sf decomposer recompose -x \"manifest/package.xml\" -m \"flow\"`"
      ],
      "flags": {
        "json": {
          "description": "Format output as json.",
          "helpGroup": "GLOBAL",
          "name": "json",
          "allowNo": false,
          "type": "boolean"
        },
        "flags-dir": {
          "helpGroup": "GLOBAL",
          "name": "flags-dir",
          "summary": "Import flag values from a directory.",
          "hasDynamicHelp": false,
          "multiple": false,
          "type": "option"
        },
        "metadata-type": {
          "char": "m",
          "name": "metadata-type",
          "required": false,
          "summary": "The metadata suffix to process, such as 'flow', 'labels', etc., or an exact type name such as 'CustomSite' for a type whose suffix is shared with another type. Required unless --manifest is provided.",
          "hasDynamicHelp": false,
          "multiple": true,
          "type": "option"
        },
        "manifest": {
          "char": "x",
          "name": "manifest",
          "required": false,
          "summary": "Path to a package.xml manifest file. When provided, only the metadata listed in the manifest is recomposed. If --metadata-type is also provided, the intersection of the two is used.",
          "hasDynamicHelp": false,
          "multiple": false,
          "type": "option"
        },
        "postpurge": {
          "name": "postpurge",
          "required": false,
          "summary": "Purge the decomposed files after recomposing them.",
          "allowNo": false,
          "type": "boolean"
        },
        "ignore-package-directory": {
          "char": "i",
          "name": "ignore-package-directory",
          "required": false,
          "summary": "Ignore a package directory.",
          "hasDynamicHelp": false,
          "multiple": true,
          "type": "option"
        },
        "config": {
          "char": "c",
          "name": "config",
          "required": false,
          "summary": "Load all settings from .sfdecomposer.config.json in the repo root. When set, top-level fields (metadataSuffixes, manifest, postPurge, ignorePackageDirectories) are applied. Explicit CLI flags take precedence over config values. Makes --metadata-type and --manifest optional when either is defined in the config.",
          "allowNo": false,
          "type": "boolean"
        }
      },
      "hasDynamicHelp": false,
      "hiddenAliases": [],
      "id": "decomposer:recompose",
      "pluginAlias": "sf-decomposer",
      "pluginName": "sf-decomposer",
      "pluginType": "core",
      "strict": true,
      "summary": "Recomposes the files created by the `decompose` command before deployments.",
      "enableJsonFlag": true,
      "isESM": true,
      "relativePath": [
        "lib",
        "commands",
        "decomposer",
        "recompose.js"
      ],
      "aliasPermutations": [],
      "permutations": [
        "decomposer:recompose",
        "recompose:decomposer"
      ]
    },
    "decomposer:verify": {
      "aliases": [],
      "args": {},
      "description": "For every parent metadata XML file belonging to the requested metadata types, disassembles and\nreassembles it in an isolated temp directory using the same flags and `.sfdecomposer.config.json`\noverrides you would use in production, then compares the reconstructed XML against the original.\nComparison is **structural**: content must match, and element-order differences are reported\nseparately. The command never modifies your working tree.\n\nRepeated sibling elements keep their original order through a round trip (recorded in\n`.element_order.json`), so files normally come back byte-identical. Files whose only delta is\nelement order are surfaced as informational notices (\"reordered\") and do not fail the run. This\nhappens when the order can't be recorded, for example different tags interleaved (`<a>`, `<b>`,\n`<a>`) or a grouped-by-tag `group` rule. Some metadata depends on order (picklist values,\npage-layout sections, approval steps), so review reordered files before committing. Genuine\nsemantic differences are reported as drift and exit non-zero, which makes the command suitable as\na CI gate before committing strategy, format, or override changes.",
      "examples": [
        "`sf decomposer verify -m \"permissionset\" -f \"xml\"`",
        "`sf decomposer verify -m \"permissionset\" -m \"profile\" -s \"grouped-by-tag\" -p`",
        "`sf decomposer verify -x \"manifest/package.xml\" --config`"
      ],
      "flags": {
        "json": {
          "description": "Format output as json.",
          "helpGroup": "GLOBAL",
          "name": "json",
          "allowNo": false,
          "type": "boolean"
        },
        "flags-dir": {
          "helpGroup": "GLOBAL",
          "name": "flags-dir",
          "summary": "Import flag values from a directory.",
          "hasDynamicHelp": false,
          "multiple": false,
          "type": "option"
        },
        "metadata-type": {
          "char": "m",
          "name": "metadata-type",
          "required": false,
          "summary": "The metadata suffix to verify, such as 'flow', 'labels', etc., or an exact type name such as 'CustomSite' for a type whose suffix is shared with another type. Required unless --manifest is provided.",
          "hasDynamicHelp": false,
          "multiple": true,
          "type": "option"
        },
        "manifest": {
          "char": "x",
          "name": "manifest",
          "required": false,
          "summary": "Path to a package.xml manifest file. When provided, only the metadata listed in the manifest is verified. If --metadata-type is also provided, the intersection of the two is used.",
          "hasDynamicHelp": false,
          "multiple": false,
          "type": "option"
        },
        "format": {
          "char": "f",
          "name": "format",
          "required": false,
          "summary": "File format to decompose into for the round-trip check.",
          "default": "xml",
          "hasDynamicHelp": true,
          "multiple": false,
          "options": [
            "xml",
            "json",
            "yaml",
            "json5"
          ],
          "type": "option"
        },
        "ignore-package-directory": {
          "char": "i",
          "name": "ignore-package-directory",
          "required": false,
          "summary": "Ignore a package directory.",
          "hasDynamicHelp": false,
          "multiple": true,
          "type": "option"
        },
        "strategy": {
          "char": "s",
          "name": "strategy",
          "required": false,
          "summary": "Strategy to follow when decomposing files for the round-trip check.",
          "default": "unique-id",
          "hasDynamicHelp": true,
          "multiple": false,
          "options": [
            "unique-id",
            "grouped-by-tag"
          ],
          "type": "option"
        },
        "decompose-nested-permissions": {
          "char": "p",
          "name": "decompose-nested-permissions",
          "required": false,
          "summary": "Additionally decompose object and field permissions on a permission set when strategy is set to \"grouped-by-tag\".",
          "allowNo": false,
          "type": "boolean"
        },
        "config": {
          "char": "c",
          "name": "config",
          "required": false,
          "summary": "Load all settings from .sfdecomposer.config.json in the repo root. When set, all top-level fields (metadataSuffixes, manifest, decomposedFormat, strategy, ignorePackageDirectories, decomposeNestedPermissions) and the \"overrides\" array are applied. Explicit CLI flags take precedence over config values. Makes --metadata-type and --manifest optional when either is defined in the config.",
          "allowNo": false,
          "type": "boolean"
        }
      },
      "hasDynamicHelp": true,
      "hiddenAliases": [],
      "id": "decomposer:verify",
      "pluginAlias": "sf-decomposer",
      "pluginName": "sf-decomposer",
      "pluginType": "core",
      "strict": true,
      "summary": "Round-trip verify that decompose followed by recompose preserves your metadata byte-for-byte.",
      "enableJsonFlag": true,
      "isESM": true,
      "relativePath": [
        "lib",
        "commands",
        "decomposer",
        "verify.js"
      ],
      "aliasPermutations": [],
      "permutations": [
        "decomposer:verify",
        "verify:decomposer"
      ]
    }
  },
  "version": "7.17.0"
}