File: //lib/python3/dist-packages/awscli/customizations/__pycache__/cliinputjson.cpython-38.pyc
U
<�^+ � @ sT d dl Z d dlmZmZ d dlmZ d dlmZ dd� Zdd� Z G d d
� d
e�Z
dS )� N)�
get_paramfile�LOCAL_PREFIX_MAP)�
ParamError)�OverrideRequiredArgsArgumentc C s | � dt� d S )Nzbuilding-argument-table)�register�add_cli_input_json)Zcli� r �D/usr/lib/python3/dist-packages/awscli/customizations/cliinputjson.py�register_cli_input_json s r
c K s d|krt | �}|�|� d S )NZoutfile)�CliInputJSONArgumentZadd_to_arg_table)�sessionZargument_table�kwargsZcli_input_json_argumentr r r r s r c sF e Zd ZdZddd�Z� fdd�Z� fdd�Zd d
� Zdd� Z� Z S )
r a# This argument inputs a JSON string as the entire input for a command.
Ideally, the value to this argument should be a filled out JSON file
generated by ``--generate-cli-skeleton``. The items in the JSON string
will not clobber other arguments entered into the command line.
zcli-input-jsonak Performs service operation based on the JSON string provided. The JSON string follows the format provided by ``--generate-cli-skeleton``. If other arguments are provided on the command line, the CLI values will override the JSON-provided values. It is not possible to pass arbitrary binary values using a JSON-provided value as the string will be taken literally.)�nameZ help_textc s t t| ��|� d S �N)�superr �__init__)�selfr �� __class__r r r 2 s zCliInputJSONArgument.__init__c s"