{
  "commands": {
    "cm:stacks:export": {
      "aliases": [],
      "args": {},
      "description": "Export content from a stack",
      "examples": [
        "csdx cm:stacks:export --stack-api-key <stack_api_key> --data-dir <path/of/export/destination/dir>",
        "csdx cm:stacks:export --config <path/to/config/dir>",
        "csdx cm:stacks:export --alias <management_token_alias>",
        "csdx cm:stacks:export --alias <management_token_alias> --data-dir <path/to/export/destination/dir>",
        "csdx cm:stacks:export --alias <management_token_alias> --config <path/to/config/file>",
        "csdx cm:stacks:export --module <single module name>",
        "csdx cm:stacks:export --branch [optional] branch name"
      ],
      "flags": {
        "config": {
          "char": "c",
          "description": "[optional] Path of the config",
          "name": "config",
          "hasDynamicHelp": false,
          "multiple": false,
          "type": "option"
        },
        "stack-api-key": {
          "char": "k",
          "description": "API Key of the source stack",
          "name": "stack-api-key",
          "hasDynamicHelp": false,
          "multiple": false,
          "type": "option"
        },
        "data-dir": {
          "char": "d",
          "description": "The path or the location in your file system to store the exported content. For e.g., ./content",
          "name": "data-dir",
          "hasDynamicHelp": false,
          "multiple": false,
          "type": "option"
        },
        "alias": {
          "char": "a",
          "description": "The management token alias of the source stack from which you will export content.",
          "name": "alias",
          "hasDynamicHelp": false,
          "multiple": false,
          "type": "option"
        },
        "module": {
          "description": "[optional] Specific module name. If not specified, the export command will export all the modules from the stack. The available modules are stack, assets, locales, environments, extensions, webhooks, global-fields, entries, content-types, custom-roles, workflows, publishing-rules, labels, marketplace-apps, taxonomies, personalize, and composable-studio.",
          "name": "module",
          "hasDynamicHelp": false,
          "multiple": false,
          "options": [
            "stack",
            "assets",
            "locales",
            "environments",
            "extensions",
            "webhooks",
            "global-fields",
            "entries",
            "content-types",
            "custom-roles",
            "workflows",
            "publishing-rules",
            "labels",
            "marketplace-apps",
            "taxonomies",
            "personalize",
            "composable-studio"
          ],
          "type": "option"
        },
        "content-types": {
          "description": "[optional]  The UID of the content type(s) whose content you want to export. In case of multiple content types, specify the IDs separated by spaces.",
          "name": "content-types",
          "hasDynamicHelp": false,
          "multiple": true,
          "type": "option"
        },
        "branch": {
          "description": "[optional] The name of the branch where you want to export your content. If you don't mention the branch name, then by default the content will be exported from all the branches of your stack.",
          "exclusive": [
            "branch-alias"
          ],
          "name": "branch",
          "hasDynamicHelp": false,
          "multiple": false,
          "type": "option"
        },
        "branch-alias": {
          "description": "(Optional) The alias of the branch from which you want to export content.",
          "exclusive": [
            "branch"
          ],
          "name": "branch-alias",
          "hasDynamicHelp": false,
          "multiple": false,
          "type": "option"
        },
        "secured-assets": {
          "description": "[optional] Use this flag for assets that are secured.",
          "name": "secured-assets",
          "allowNo": false,
          "type": "boolean"
        },
        "yes": {
          "char": "y",
          "description": "[optional] Force override all Marketplace prompts.",
          "name": "yes",
          "required": false,
          "allowNo": false,
          "type": "boolean"
        },
        "query": {
          "description": "[optional] Query object (inline JSON or file path) to filter module exports.",
          "hidden": true,
          "name": "query",
          "hasDynamicHelp": false,
          "multiple": false,
          "type": "option"
        }
      },
      "hasDynamicHelp": false,
      "hiddenAliases": [],
      "id": "cm:stacks:export",
      "pluginAlias": "@contentstack/cli-cm-export",
      "pluginName": "@contentstack/cli-cm-export",
      "pluginType": "core",
      "strict": true,
      "usage": "cm:stacks:export [--config <value>] [--stack-api-key <value>] [--data-dir <value>] [--alias <value>] [--module <value>] [--content-types <value>] [--branch <value>] [--secured-assets]",
      "isESM": false,
      "relativePath": [
        "lib",
        "commands",
        "cm",
        "stacks",
        "export.js"
      ]
    }
  },
  "version": "2.0.2"
}