a
lj" @ 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 @ s* e Zd ZdZdZdZddddZeee e
dd d
Zeee
e ddd
Zeee ddddZeee ddddZeee ddddZeee ddddZeee ddddZeddddZddddZeee ddddZee e e
edd d!Zddd"d#Zee d$d%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 [