{
  "id": "mamba",
  "name": "Mamba",
  "homepage": "https://mamba.readthedocs.io",
  "description": "mamba is a reimplementation of the conda package manager in C++.",
  "icon": "https://mamba.readthedocs.io/en/latest/_static/logo.png",
  "executables": [
    "mamba",
    "micromamba"
  ],
  "dotfiles": {
    "paths": [
      "~/.mambarc"
    ],
    "exclude": [],
    "secret": [],
    "machine_lines": [
      {
        "file": "~/.mambarc",
        "format": "yaml",
        "match": {
          "key_path": [
            "envs_dirs",
            "pkgs_dirs"
          ]
        },
        "scope": "backup"
      }
    ]
  },
  "commands": {
    "format": 1,
    "label": "Mamba",
    "description": "Create environments, install packages and list them. Pick a job below; other subcommands and solver tuning options are left out.",
    "quality": "ai-draft",
    "base": "fig:mamba",
    "parser": {
      "end_of_options": "--",
      "interleave": "permute",
      "long_equals": true,
      "short_attached": true,
      "short_bundles": false
    },
    "source": [
      {
        "id": "fig",
        "kind": "completion",
        "url": "https://github.com/withfig/autocomplete/blob/master/src/mamba.ts",
        "license": "MIT"
      }
    ],
    "subcommand": [
      {
        "path": [
          "create"
        ],
        "label": "Create environment",
        "source": [
          {
            "id": "fig",
            "kind": "completion",
            "url": "https://github.com/withfig/autocomplete/blob/master/src/mamba.ts",
            "license": "MIT"
          }
        ],
        "field": [
          {
            "id": "specs",
            "label": "Packages",
            "type": "string",
            "position": 0,
            "multiple": true,
            "sources": [
              "fig"
            ]
          },
          {
            "id": "name",
            "label": "Environment name",
            "type": "string",
            "option": [
              "--name",
              "-n"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "channel",
            "label": "Channels",
            "type": "string",
            "option": [
              "--channel",
              "-c"
            ],
            "multiple": true,
            "sources": [
              "fig"
            ]
          },
          {
            "id": "yes",
            "label": "Do not ask for confirmation",
            "type": "boolean",
            "option": [
              "--yes",
              "-y"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "dry_run",
            "label": "Dry run",
            "type": "boolean",
            "option": [
              "--dry-run",
              "-d"
            ],
            "sources": [
              "fig"
            ]
          }
        ],
        "task": [
          {
            "id": "create",
            "label": "Create environment",
            "fields": [
              "name",
              "specs",
              "channel",
              "yes"
            ],
            "required": [
              "name"
            ]
          }
        ],
        "group": [
          {
            "id": "basic",
            "label": "Basic",
            "fields": [
              "name",
              "specs",
              "channel",
              "yes",
              "dry_run"
            ]
          }
        ]
      },
      {
        "path": [
          "install"
        ],
        "label": "Install packages",
        "source": [
          {
            "id": "fig",
            "kind": "completion",
            "url": "https://github.com/withfig/autocomplete/blob/master/src/mamba.ts",
            "license": "MIT"
          }
        ],
        "field": [
          {
            "id": "specs",
            "label": "Packages",
            "type": "string",
            "position": 0,
            "multiple": true,
            "sources": [
              "fig"
            ]
          },
          {
            "id": "name",
            "label": "Environment name",
            "type": "string",
            "option": [
              "--name",
              "-n"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "channel",
            "label": "Channels",
            "type": "string",
            "option": [
              "--channel",
              "-c"
            ],
            "multiple": true,
            "sources": [
              "fig"
            ]
          },
          {
            "id": "yes",
            "label": "Do not ask for confirmation",
            "type": "boolean",
            "option": [
              "--yes",
              "-y"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "dry_run",
            "label": "Dry run",
            "type": "boolean",
            "option": [
              "--dry-run",
              "-d"
            ],
            "sources": [
              "fig"
            ]
          }
        ],
        "task": [
          {
            "id": "install",
            "label": "Install into an environment",
            "fields": [
              "name",
              "specs",
              "channel",
              "yes"
            ],
            "required": [
              "specs"
            ]
          }
        ],
        "group": [
          {
            "id": "basic",
            "label": "Basic",
            "fields": [
              "name",
              "specs",
              "channel",
              "yes",
              "dry_run"
            ]
          }
        ]
      },
      {
        "path": [
          "list"
        ],
        "label": "List packages",
        "source": [
          {
            "id": "fig",
            "kind": "completion",
            "url": "https://github.com/withfig/autocomplete/blob/master/src/mamba.ts",
            "license": "MIT"
          }
        ],
        "field": [
          {
            "id": "regex",
            "label": "Name regex",
            "type": "string",
            "position": 0,
            "sources": [
              "fig"
            ]
          },
          {
            "id": "name",
            "label": "Environment name",
            "type": "string",
            "option": [
              "--name",
              "-n"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "json",
            "label": "JSON output",
            "type": "boolean",
            "option": [
              "--json"
            ],
            "sources": [
              "fig"
            ]
          }
        ],
        "task": [
          {
            "id": "list",
            "label": "List packages",
            "fields": [
              "name",
              "regex"
            ]
          }
        ],
        "group": [
          {
            "id": "basic",
            "label": "Basic",
            "fields": [
              "regex",
              "name",
              "json"
            ]
          }
        ]
      }
    ]
  }
}
