◆ debug_mode
| Callable pip._internal.cli.cmdoptions.PipOption.debug_mode |
|
static |
Initial value:= partial(
Option,
"--debug",
dest="debug_mode",
action="store_true",
default=False,
help=(
"Let unhandled exceptions propagate outside the main subroutine, "
"instead of logging them to stderr."
),
)
◆ help_
| Callable pip._internal.cli.cmdoptions.PipOption.help_ |
|
static |
Initial value:= partial(
Option,
"-h",
"--help",
dest="help",
action="help",
help="Show help.",
)
options #
◆ isolated_mode
| Callable pip._internal.cli.cmdoptions.PipOption.isolated_mode |
|
static |
Initial value:= partial(
Option,
"--isolated",
dest="isolated_mode",
action="store_true",
default=False,
help=(
"Run pip in an isolated mode, ignoring environment variables and user "
"configuration."
),
)
◆ log
| Callable pip._internal.cli.cmdoptions.PipOption.log |
|
static |
Initial value:= partial(
PipOption,
"--log",
"--log-file",
"--local-log",
dest="log",
metavar="path",
type="path",
help="Path to a verbose appending log.",
)
◆ no_color
| Callable pip._internal.cli.cmdoptions.PipOption.no_color |
|
static |
Initial value:= partial(
Option,
"--no-color",
dest="no_color",
action="store_true",
default=False,
help="Suppress colored output.",
)
◆ override_externally_managed
| Callable pip._internal.cli.cmdoptions.PipOption.override_externally_managed |
|
static |
Initial value:= partial(
Option,
"--break-system-packages",
dest="override_externally_managed",
action="store_true",
help="Allow pip to modify an EXTERNALLY-MANAGED Python installation",
)
◆ progress_bar
| Callable pip._internal.cli.cmdoptions.PipOption.progress_bar |
|
static |
Initial value:= partial(
Option,
"--progress-bar",
dest="progress_bar",
type="choice",
choices=["on", "off"],
default="on",
help="Specify whether the progress bar should be used [on, off] (default: on)",
)
◆ python
| Callable pip._internal.cli.cmdoptions.PipOption.python |
|
static |
Initial value:= partial(
Option,
"--python",
dest="python",
help="Run pip with the specified Python interpreter.",
)
◆ quiet
| Callable pip._internal.cli.cmdoptions.PipOption.quiet |
|
static |
Initial value:= partial(
Option,
"-q",
"--quiet",
dest="quiet",
action="count",
default=0,
help=(
"Give less output. Option is additive, and can be used up to 3"
" times (corresponding to WARNING, ERROR, and CRITICAL logging"
" levels)."
),
)
◆ require_virtualenv
| Callable pip._internal.cli.cmdoptions.PipOption.require_virtualenv |
|
static |
Initial value:= partial(
Option,
"--require-virtualenv",
"--require-venv",
dest="require_venv",
action="store_true",
default=False,
help=(
"Allow pip to only run in a virtual environment; "
"exit with an error otherwise."
),
)
◆ verbose
| Callable pip._internal.cli.cmdoptions.PipOption.verbose |
|
static |
Initial value:= partial(
Option,
"-v",
"--verbose",
dest="verbose",
action="count",
default=0,
help="Give more output. Option is additive, and can be used up to 3 times.",
)
◆ version
| Callable pip._internal.cli.cmdoptions.PipOption.version |
|
static |
Initial value:= partial(
Option,
"-V",
"--version",
dest="version",
action="store_true",
help="Show version and exit.",
)
The documentation for this class was generated from the following file:
- docs/help/help-venv/lib/python3.12/site-packages/pip/_internal/cli/cmdoptions.py