{
  "id": "conan",
  "name": "Conan",
  "homepage": "https://conan.io",
  "description": "A decentralized, open-source C and C++ package manager.",
  "executables": [
    "conan"
  ],
  "dotfiles": {
    "paths": [
      "~/.conan2/global.conf",
      "~/.conan2/profiles/",
      "~/.conan2/remotes.json",
      "~/.conan2/settings.yml",
      "~/.conan2/extensions/",
      "~/.conan2/hooks/"
    ],
    "exclude": [
      "~/.conan2/p/",
      "~/.conan2/download_cache/",
      "~/.conan2/.conan/",
      "~/.conan2/db.sqlite3"
    ],
    "secret": [
      "~/.conan2/credentials.json"
    ]
  },
  "commands": {
    "format": 1,
    "label": "Conan",
    "description": "Install a project's dependencies with `conan install`. Lockfile, deployer, per-context (:build/:host) and output-format options are left out.",
    "quality": "ai-draft",
    "parser": {
      "end_of_options": "--",
      "interleave": "permute",
      "long_equals": true,
      "short_attached": true,
      "short_bundles": false
    },
    "subcommand": [
      {
        "path": [
          "install"
        ],
        "label": "Install dependencies",
        "source": [
          {
            "id": "help",
            "kind": "help",
            "url": "https://docs.conan.io/2/reference/commands/install.html",
            "revision": "conan 2.33.0",
            "evidence": "  path                  Path to a folder containing a recipe (conanfile.py or\n  -b BUILD, --build BUILD\n  --requires REQUIRES   Directly provide requires instead of a conanfile\n  --tool-requires TOOL_REQUIRES\n  -g GENERATOR, --generator GENERATOR\n  -of OUTPUT_FOLDER, --output-folder OUTPUT_FOLDER\n  -r REMOTE, --remote REMOTE\n  -nr, --no-remote      Do not use remote, resolve exclusively in the cache\n  -u [UPDATE], --update [UPDATE]\n  -pr PROFILE, --profile PROFILE\n  -o OPTIONS, --options OPTIONS\n  -s SETTINGS, --settings SETTINGS\n  -c CONF, --conf CONF  Apply the specified conf. By default, or if specifying\n"
          }
        ],
        "field": [
          {
            "id": "path",
            "label": "Recipe path",
            "description": "Folder with conanfile.py/txt or a recipe file. Defaults to the current directory.",
            "type": "path",
            "position": 0,
            "path": {
              "kind": "any",
              "role": "input"
            },
            "sources": [
              "help"
            ]
          },
          {
            "id": "build",
            "label": "Build from source",
            "description": "Pattern such as missing, never or a package name.",
            "type": "string",
            "option": [
              "--build",
              "-b"
            ],
            "multiple": true,
            "suggestions": [
              {
                "value": "missing",
                "label": "missing"
              },
              {
                "value": "never",
                "label": "never"
              },
              {
                "value": "*",
                "label": "everything"
              }
            ],
            "sources": [
              "help"
            ]
          },
          {
            "id": "requires",
            "label": "Requires (no conanfile)",
            "type": "string",
            "option": [
              "--requires"
            ],
            "multiple": true,
            "sources": [
              "help"
            ]
          },
          {
            "id": "tool_requires",
            "label": "Tool requires",
            "type": "string",
            "option": [
              "--tool-requires"
            ],
            "multiple": true,
            "sources": [
              "help"
            ]
          },
          {
            "id": "profile",
            "label": "Profile",
            "type": "string",
            "option": [
              "--profile",
              "-pr"
            ],
            "sources": [
              "help"
            ]
          },
          {
            "id": "settings",
            "label": "Settings (name=value)",
            "type": "string",
            "option": [
              "--settings",
              "-s"
            ],
            "multiple": true,
            "sources": [
              "help"
            ]
          },
          {
            "id": "options",
            "label": "Options (pkg:opt=value)",
            "type": "string",
            "option": [
              "--options",
              "-o"
            ],
            "multiple": true,
            "sources": [
              "help"
            ]
          },
          {
            "id": "conf",
            "label": "Conf (name=value)",
            "type": "string",
            "option": [
              "--conf",
              "-c"
            ],
            "multiple": true,
            "sources": [
              "help"
            ]
          },
          {
            "id": "generator",
            "label": "Generator",
            "type": "string",
            "option": [
              "--generator",
              "-g"
            ],
            "multiple": true,
            "suggestions": [
              {
                "value": "CMakeDeps",
                "label": "CMakeDeps"
              },
              {
                "value": "CMakeToolchain",
                "label": "CMakeToolchain"
              }
            ],
            "sources": [
              "help"
            ]
          },
          {
            "id": "output_folder",
            "label": "Output folder",
            "type": "path",
            "option": [
              "--output-folder",
              "-of"
            ],
            "path": {
              "kind": "directory",
              "role": "output"
            },
            "sources": [
              "help"
            ]
          },
          {
            "id": "remote",
            "label": "Remote",
            "type": "string",
            "option": [
              "--remote",
              "-r"
            ],
            "sources": [
              "help"
            ]
          },
          {
            "id": "no_remote",
            "label": "Resolve from cache only",
            "type": "boolean",
            "option": [
              "--no-remote",
              "-nr"
            ],
            "sources": [
              "help"
            ]
          }
        ],
        "task": [
          {
            "id": "install-missing",
            "label": "Install, build missing",
            "set": {
              "build": [
                "missing"
              ]
            },
            "fields": [
              "path",
              "build",
              "profile",
              "settings",
              "output_folder"
            ],
            "required": []
          },
          {
            "id": "install-requires",
            "label": "Install a package",
            "fields": [
              "requires",
              "generator",
              "output_folder",
              "build"
            ],
            "required": [
              "requires"
            ]
          }
        ],
        "group": [
          {
            "id": "basic",
            "label": "Basic",
            "fields": [
              "path",
              "build",
              "requires",
              "profile",
              "settings",
              "options",
              "output_folder"
            ]
          },
          {
            "id": "advanced",
            "label": "Advanced",
            "fields": [
              "tool_requires",
              "conf",
              "generator",
              "remote",
              "no_remote"
            ]
          }
        ]
      }
    ]
  }
}
