id = "pip"
name = "pip"
homepage = "https://pip.pypa.io/en/stable/topics/configuration/"
description = "The package installer for Python."
icon = "theSVG:python"
executables = ["pip", "pip3"]
[dotfiles]
paths = [
"[appData]/pip/pip.conf",
"%APPDATA%/pip/pip.ini",
"~/.pip/pip.conf",
]
exclude = ["[cacheHome]/pip/"]
secret = []
[[dotfiles.machine_lines]]
file = [
"[appData]/pip/pip.conf",
"%APPDATA%/pip/pip.ini",
"~/.pip/pip.conf",
]
match = { prefix = ["cache-dir"] }
scope = "backup"
[commands]
format = 1
label = "pip"
description = "Install packages and inspect the environment. Index, proxy, constraint and build options are left out of the install form because the completion data lacks them."
quality = "ai-draft"
base = "fig:pip"
parser = { end_of_options = "--", interleave = "permute", long_equals = true, short_attached = true, short_bundles = true }
[[commands.source]]
id = "fig"
kind = "completion"
url = "https://github.com/withfig/autocomplete/blob/master/src/pip.ts"
license = "MIT"
[[commands.subcommand]]
path = ["install"]
label = "Install packages"
[[commands.subcommand.source]]
id = "fig"
kind = "completion"
url = "https://github.com/withfig/autocomplete/blob/master/src/pip.ts"
license = "MIT"
[[commands.subcommand.field]]
id = "packages"
label = "Packages"
type = "string"
position = 0
multiple = true
sources = ["fig"]
[[commands.subcommand.field]]
id = "requirement"
label = "Requirements file"
type = "path"
option = ["--requirement", "-r"]
path = { kind = "file", role = "input" }
sources = ["fig"]
[[commands.subcommand.task]]
id = "install"
label = "Install packages"
fields = ["packages", "requirement"]
required = ["packages"]
[[commands.subcommand.task]]
id = "reqs"
label = "Install from requirements"
fields = ["requirement"]
required = ["requirement"]
[[commands.subcommand.group]]
id = "basic"
label = "Basic"
fields = ["packages", "requirement"]
[[commands.subcommand]]
path = ["uninstall"]
label = "Uninstall packages"
[[commands.subcommand.source]]
id = "fig"
kind = "completion"
url = "https://github.com/withfig/autocomplete/blob/master/src/pip.ts"
license = "MIT"
[[commands.subcommand.field]]
id = "packages"
label = "Packages"
type = "string"
position = 0
multiple = true
effect = "delete"
sources = ["fig"]
[[commands.subcommand.task]]
id = "uninstall"
label = "Uninstall"
fields = ["packages"]
required = ["packages"]
[[commands.subcommand.group]]
id = "basic"
label = "Basic"
fields = ["packages"]
[[commands.subcommand]]
path = ["list"]
label = "List installed packages"
[[commands.subcommand.source]]
id = "fig"
kind = "completion"
url = "https://github.com/withfig/autocomplete/blob/master/src/pip.ts"
license = "MIT"
[[commands.subcommand.field]]
id = "uptodate"
label = "Up to date only"
type = "boolean"
option = ["--uptodate", "-u"]
sources = ["fig"]
[[commands.subcommand.field]]
id = "editable"
label = "Editable only"
type = "boolean"
option = ["--editable", "-e"]
sources = ["fig"]
[[commands.subcommand.field]]
id = "local"
label = "Exclude global packages"
type = "boolean"
option = ["--local", "-l"]
sources = ["fig"]
[[commands.subcommand.field]]
id = "user"
label = "User site only"
type = "boolean"
option = ["--user"]
sources = ["fig"]
[[commands.subcommand.field]]
id = "pre"
label = "Include pre-releases"
type = "boolean"
option = ["--pre"]
sources = ["fig"]
[[commands.subcommand.field]]
id = "not_required"
label = "Not required by others"
type = "boolean"
option = ["--not-required"]
sources = ["fig"]
[[commands.subcommand.task]]
id = "list"
label = "List packages"
fields = ["uptodate", "editable", "local", "user", "pre", "not_required"]
required = []
[[commands.subcommand.group]]
id = "basic"
label = "Basic"
fields = ["uptodate", "editable", "local", "user", "pre"]
[[commands.subcommand.group]]
id = "advanced"
label = "Advanced"
fields = ["not_required"]
[[commands.subcommand]]
path = ["freeze"]
label = "Freeze requirements"
[[commands.subcommand.source]]
id = "fig"
kind = "completion"
url = "https://github.com/withfig/autocomplete/blob/master/src/pip.ts"
license = "MIT"
[[commands.subcommand.field]]
id = "local"
label = "Exclude global packages"
type = "boolean"
option = ["--local", "-l"]
sources = ["fig"]
[[commands.subcommand.field]]
id = "user"
label = "User site only"
type = "boolean"
option = ["--user"]
sources = ["fig"]
[[commands.subcommand.field]]
id = "all"
label = "Include pip and setuptools"
type = "boolean"
option = ["--all"]
sources = ["fig"]
[[commands.subcommand.field]]
id = "exclude_editable"
label = "Exclude editable"
type = "boolean"
option = ["--exclude-editable"]
sources = ["fig"]
[[commands.subcommand.task]]
id = "freeze"
label = "Freeze"
fields = ["local", "user", "all", "exclude_editable"]
required = []
[[commands.subcommand.group]]
id = "basic"
label = "Basic"
fields = ["local", "user", "all", "exclude_editable"]