File: //lib/python3.6/site-packages/awscli/customizations/configure/__pycache__/configure.cpython-36.pyc
3
�T_G � @ s� d dl Z d dlZd dlmZ d dlmZ d dlmZ d dlm Z d dl
mZ d dlm
Z
d dlmZ d d lmZ d
dlmZmZ eje�Zdd
� ZG dd� de�ZG dd� de�ZdS )� N)�ProfileNotFound)�compat_input)�BasicCommand)�AddModelCommand)�ConfigureSetCommand)�ConfigureGetCommand)�ConfigureListCommand)�ConfigFileWriter� )�
mask_value�profile_to_sectionc C s | j dtj� d S )Nzbuilding-command-table.main)�register�ConfigureCommandZadd_command)Zcli� r �/usr/lib/python3.6/configure.py�register_configure_cmd s r c @ s e Zd Zddd�ZdS )�InteractivePrompter� c C s, |dkrt |�}td||f �}|s(d }|S )N�aws_access_key_id�aws_secret_access_keyz %s [%s]: )r r )r r )�self�
current_value�config_name�prompt_textZresponser r r � get_value'