|
def | add_options (self) |
|
def | run (self, options, args) |
|
def | list_values (self, options, args) |
|
def | get_name (self, options, args) |
|
def | set_name_value (self, options, args) |
|
def | unset_name (self, options, args) |
|
def | list_config_values (self, options, args) |
|
def | print_config_file_values (self, variant) |
|
def | print_env_var_values (self) |
|
def | open_in_editor (self, options, args) |
|
Public Member Functions inherited from Command |
def | __init__ (self, name, summary, isolated=False) |
|
def | handle_pip_version_check (self, options) |
|
def | parse_args (self, args) |
|
def | main (self, args) |
|
Public Member Functions inherited from CommandContextMixIn |
def | __init__ (self) |
|
def | main_context (self) |
|
def | enter_context (self, context_provider) |
|
Manage local and global configuration.
Subcommands:
- list: List the active configuration (or from the file specified)
- edit: Edit the configuration file in an editor
- get: Get the value associated with name
- set: Set the name=value
- unset: Unset the value associated with name
- debug: List the configuration files and values defined under them
If none of --user, --global and --site are passed, a virtual
environment configuration file is used if one is active and the file
exists. Otherwise, all modifications happen on the to the user file by
default.