| Server IP : 167.99.254.82 / Your IP : 216.73.216.188 Web Server : Apache System : Linux host.techisquad.com 5.15.0-190-generic #200-Ubuntu SMP Fri Aug 7 15:06:04 UTC 2026 x86_64 User : pawluxera ( 1011) PHP Version : 8.1.34 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /lib/python3/dist-packages/awscli/customizations/__pycache__/ |
Upload File : |
o
.&�a� � @ s� d dl Z d dlZd dlmZ d dlmZ d dlmZ d dlm Z d dl
mZ d dlm
Z
dd � Zd
d� ZG dd
� d
e�ZG dd� de �ZdS )� N)�
xform_name)�Stubber)�ArgumentGenerator)�CLIOperationCaller)�OverrideRequiredArgsArgument)�json_encoderc C s | � dt� d S )Nzbuilding-argument-table)�register�add_generate_skeleton)�cli� r �K/usr/lib/python3/dist-packages/awscli/customizations/generatecliskeleton.py�register_generate_cli_skeleton s r
c K s$ d|vrt | |�}|�|� d S d S )N�outfile)�GenerateCliSkeletonArgument�add_to_arg_table)�session�operation_model�argument_table�kwargs�generate_cli_skeleton_argumentr r r r s ��r c sT e Zd ZdZddddddgd�Z� fdd �Z� fd
d�Z� fdd
�Zdd� Z� Z S )r z�This argument writes a generated JSON skeleton to stdout
The argument, if present in the command line, will prevent the intended
command from taking place. Instead, it will generate a JSON skeleton and
print it to standard output.
zgenerate-cli-skeletonaJ Prints a JSON skeleton to standard output without sending an API request. If provided with no value or the value ``input``, prints a sample input JSON that can be used as an argument for ``--cli-input-json``. If provided with the value ``output``, it validates the command inputs and returns a sample output JSON for that command.�?�input�output)�name� help_text�nargs�const�choicesc s t t| ��|� || _d S )N)�superr �__init__�_operation_model)�selfr r �� __class__r r r <