o
ai" @ s d dl Z d dlZd dlZd dlmZ d dlmZmZmZ d dl m
Z
d dlmZm
Z
d dlmZmZmZmZ d dlmZ d dlmZ d d lmZmZ e eZG d
d de
ZdS ) N)Values)AnyListOptional)Command)ERRORSUCCESS)
ConfigurationKindget_configuration_fileskinds)PipError)
indent_log)get_progwrite_outputc @ sH e Zd ZdZdZdZd(ddZded ee de
fd
dZdedede
e fd
dZded ee ddfddZded ee ddfddZded ee ddfddZded ee ddfddZded ee ddfddZdeddfddZd(ddZded ee ddfddZd ee d e d!e
defd"d#Zd(d$d%Zdede fd&d'ZdS ))ConfigurationCommandaa
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 to the user file by
default.
Ta
%prog [