{
  "id": "conda",
  "name": "conda",
  "homepage": "https://docs.conda.io/projects/conda/en/stable/user-guide/configuration/use-condarc.html",
  "description": "Package, dependency and environment management for any language.",
  "icon": "https://raw.githubusercontent.com/conda/conda/main/docs/source/_static/img/logo-element.svg",
  "executables": [
    "conda"
  ],
  "dotfiles": {
    "paths": [
      "~/.condarc"
    ],
    "exclude": [],
    "secret": [],
    "machine_lines": [
      {
        "file": "~/.condarc",
        "format": "yaml",
        "match": {
          "key_path": [
            "envs_dirs",
            "pkgs_dirs"
          ]
        },
        "scope": "backup"
      }
    ]
  },
  "commands": {
    "format": 1,
    "label": "Conda",
    "description": "Install packages into, or create, a conda environment.",
    "quality": "ai-draft",
    "base": "fig:conda",
    "parser": {
      "end_of_options": "--",
      "interleave": "permute",
      "long_equals": true,
      "short_attached": true,
      "short_bundles": true
    },
    "source": [
      {
        "id": "fig",
        "kind": "completion",
        "url": "https://github.com/withfig/autocomplete/blob/master/src/conda.ts",
        "license": "MIT"
      }
    ],
    "subcommand": [
      {
        "path": [
          "install"
        ],
        "label": "Install packages",
        "description": "Install packages into a named or prefixed environment. Solver tuning and index-cache options are left out.",
        "source": [
          {
            "id": "fig",
            "kind": "completion",
            "url": "https://github.com/withfig/autocomplete/blob/master/src/conda.ts",
            "license": "MIT"
          }
        ],
        "field": [
          {
            "id": "packages",
            "label": "Packages",
            "type": "string",
            "position": 0,
            "multiple": true,
            "sources": [
              "fig"
            ]
          },
          {
            "id": "name",
            "label": "Environment name",
            "type": "string",
            "option": [
              "--name",
              "-n"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "prefix",
            "label": "Environment path",
            "type": "path",
            "option": [
              "--prefix",
              "-p"
            ],
            "path": {
              "kind": "directory",
              "role": "input",
              "must_exist": false
            },
            "sources": [
              "fig"
            ]
          },
          {
            "id": "channel",
            "label": "Channels",
            "type": "string",
            "option": [
              "--channel",
              "-c"
            ],
            "multiple": true,
            "suggestions": [
              {
                "value": "conda-forge",
                "label": "conda-forge"
              }
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "file",
            "label": "Requirements file",
            "type": "path",
            "option": [
              "--file"
            ],
            "path": {
              "kind": "file",
              "role": "input",
              "must_exist": true
            },
            "sources": [
              "fig"
            ]
          },
          {
            "id": "dry_run",
            "label": "Dry run",
            "type": "boolean",
            "option": [
              "--dry-run",
              "-d"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "yes",
            "label": "Do not ask for confirmation",
            "type": "boolean",
            "option": [
              "--yes",
              "-y"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "no_deps",
            "label": "Skip dependencies",
            "description": "Can lead to broken environments.",
            "type": "boolean",
            "option": [
              "--no-deps"
            ],
            "sources": [
              "fig"
            ]
          }
        ],
        "task": [
          {
            "id": "install",
            "label": "Install into an environment",
            "fields": [
              "packages",
              "name",
              "channel",
              "dry_run",
              "yes"
            ],
            "required": [
              "packages"
            ]
          }
        ],
        "group": [
          {
            "id": "basic",
            "label": "Basic",
            "fields": [
              "packages",
              "name",
              "prefix",
              "channel",
              "file"
            ]
          },
          {
            "id": "advanced",
            "label": "Advanced",
            "fields": [
              "dry_run",
              "yes",
              "no_deps"
            ]
          }
        ]
      },
      {
        "path": [
          "create"
        ],
        "label": "Create an environment",
        "description": "Create a new environment from a list of packages. Solver tuning options are left out.",
        "source": [
          {
            "id": "fig",
            "kind": "completion",
            "url": "https://github.com/withfig/autocomplete/blob/master/src/conda.ts",
            "license": "MIT"
          }
        ],
        "field": [
          {
            "id": "packages",
            "label": "Packages",
            "type": "string",
            "position": 0,
            "multiple": true,
            "sources": [
              "fig"
            ]
          },
          {
            "id": "name",
            "label": "Environment name",
            "type": "string",
            "option": [
              "--name",
              "-n"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "prefix",
            "label": "Environment path",
            "type": "path",
            "option": [
              "--prefix",
              "-p"
            ],
            "path": {
              "kind": "directory",
              "role": "output",
              "must_exist": false
            },
            "sources": [
              "fig"
            ]
          },
          {
            "id": "channel",
            "label": "Channels",
            "type": "string",
            "option": [
              "--channel",
              "-c"
            ],
            "multiple": true,
            "suggestions": [
              {
                "value": "conda-forge",
                "label": "conda-forge"
              }
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "file",
            "label": "Requirements file",
            "type": "path",
            "option": [
              "--file"
            ],
            "path": {
              "kind": "file",
              "role": "input",
              "must_exist": true
            },
            "sources": [
              "fig"
            ]
          },
          {
            "id": "clone",
            "label": "Clone environment",
            "description": "Path to (or name of) an existing local environment.",
            "type": "string",
            "option": [
              "--clone"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "dry_run",
            "label": "Dry run",
            "type": "boolean",
            "option": [
              "--dry-run",
              "-d"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "yes",
            "label": "Do not ask for confirmation",
            "type": "boolean",
            "option": [
              "--yes",
              "-y"
            ],
            "sources": [
              "fig"
            ]
          }
        ],
        "task": [
          {
            "id": "create",
            "label": "Create a named environment",
            "fields": [
              "name",
              "packages",
              "channel",
              "yes"
            ],
            "required": [
              "name"
            ]
          }
        ],
        "group": [
          {
            "id": "basic",
            "label": "Basic",
            "fields": [
              "name",
              "packages",
              "prefix",
              "channel",
              "file",
              "clone"
            ]
          },
          {
            "id": "advanced",
            "label": "Advanced",
            "fields": [
              "dry_run",
              "yes"
            ]
          }
        ]
      }
    ]
  }
}
