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 = []
[[dotfiles.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 }
[[commands.source]]
id = "fig"
kind = "completion"
url = "https://github.com/withfig/autocomplete/blob/master/src/mamba.ts"
license = "MIT"
[[commands.subcommand]]
path = ["create"]
label = "Create environment"
[[commands.subcommand.source]]
id = "fig"
kind = "completion"
url = "https://github.com/withfig/autocomplete/blob/master/src/mamba.ts"
license = "MIT"
[[commands.subcommand.field]]
id = "specs"
label = "Packages"
type = "string"
position = 0
multiple = true
sources = ["fig"]
[[commands.subcommand.field]]
id = "name"
label = "Environment name"
type = "string"
option = ["--name", "-n"]
sources = ["fig"]
[[commands.subcommand.field]]
id = "channel"
label = "Channels"
type = "string"
option = ["--channel", "-c"]
multiple = true
sources = ["fig"]
[[commands.subcommand.field]]
id = "yes"
label = "Do not ask for confirmation"
type = "boolean"
option = ["--yes", "-y"]
sources = ["fig"]
[[commands.subcommand.field]]
id = "dry_run"
label = "Dry run"
type = "boolean"
option = ["--dry-run", "-d"]
sources = ["fig"]
[[commands.subcommand.task]]
id = "create"
label = "Create environment"
fields = ["name", "specs", "channel", "yes"]
required = ["name"]
[[commands.subcommand.group]]
id = "basic"
label = "Basic"
fields = ["name", "specs", "channel", "yes", "dry_run"]
[[commands.subcommand]]
path = ["install"]
label = "Install packages"
[[commands.subcommand.source]]
id = "fig"
kind = "completion"
url = "https://github.com/withfig/autocomplete/blob/master/src/mamba.ts"
license = "MIT"
[[commands.subcommand.field]]
id = "specs"
label = "Packages"
type = "string"
position = 0
multiple = true
sources = ["fig"]
[[commands.subcommand.field]]
id = "name"
label = "Environment name"
type = "string"
option = ["--name", "-n"]
sources = ["fig"]
[[commands.subcommand.field]]
id = "channel"
label = "Channels"
type = "string"
option = ["--channel", "-c"]
multiple = true
sources = ["fig"]
[[commands.subcommand.field]]
id = "yes"
label = "Do not ask for confirmation"
type = "boolean"
option = ["--yes", "-y"]
sources = ["fig"]
[[commands.subcommand.field]]
id = "dry_run"
label = "Dry run"
type = "boolean"
option = ["--dry-run", "-d"]
sources = ["fig"]
[[commands.subcommand.task]]
id = "install"
label = "Install into an environment"
fields = ["name", "specs", "channel", "yes"]
required = ["specs"]
[[commands.subcommand.group]]
id = "basic"
label = "Basic"
fields = ["name", "specs", "channel", "yes", "dry_run"]
[[commands.subcommand]]
path = ["list"]
label = "List packages"
[[commands.subcommand.source]]
id = "fig"
kind = "completion"
url = "https://github.com/withfig/autocomplete/blob/master/src/mamba.ts"
license = "MIT"
[[commands.subcommand.field]]
id = "regex"
label = "Name regex"
type = "string"
position = 0
sources = ["fig"]
[[commands.subcommand.field]]
id = "name"
label = "Environment name"
type = "string"
option = ["--name", "-n"]
sources = ["fig"]
[[commands.subcommand.field]]
id = "json"
label = "JSON output"
type = "boolean"
option = ["--json"]
sources = ["fig"]
[[commands.subcommand.task]]
id = "list"
label = "List packages"
fields = ["name", "regex"]
[[commands.subcommand.group]]
id = "basic"
label = "Basic"
fields = ["regex", "name", "json"]