{
  "description": "Explore a container image layer by layer. Build mode (dive build) and CI rule files other than the config path are left out.",
  "options": [
    {
      "names": [
        "--source"
      ],
      "description": "Image source",
      "args": {
        "name": "source",
        "isOptional": false,
        "suggestions": [
          {
            "name": "docker",
            "description": "Docker engine"
          },
          {
            "name": "docker-archive",
            "description": "Docker tar archive"
          },
          {
            "name": "podman",
            "description": "Podman engine (Linux only)"
          }
        ]
      }
    },
    {
      "names": [
        "--ci-config"
      ],
      "description": "Only used when CI=true is set in the environment.",
      "args": {
        "name": "ci_config",
        "description": "Only used when CI=true is set in the environment.",
        "isOptional": false,
        "template": "filepaths"
      }
    }
  ],
  "args": [
    {
      "name": "image",
      "description": "For the docker-archive source this is a tar file path.",
      "isOptional": true
    }
  ],
  "name": "dive"
}
