Submit
Path:
~
/
/
lib
/
python2.7
/
site-packages
/
awscli
/
customizations
/
File Content:
generatecliskeleton.pyc
� =��Xc @ s� d d l Z d d l Z d d l m Z d d l m Z d d l m Z d d l m Z d d l m Z d d l m Z d � Z d � Z d e f d � � YZ d e f d � � YZ d S( i����N( t xform_name( t Stubber( t ArgumentGenerator( t CLIOperationCaller( t OverrideRequiredArgsArgument( t json_encoderc C s | j d t � d S( Ns building-argument-table( t registert add_generate_skeleton( t cli( ( sI /tmp/pip-build-uEGWVr/awscli/awscli/customizations/generatecliskeleton.pyt register_generate_cli_skeleton s c K s/ d | k r+ t | | � } | j | � n d S( Nt outfile( t GenerateCliSkeletonArgumentt add_to_arg_table( t sessiont operation_modelt argument_tablet kwargst generate_cli_skeleton_argument( ( sI /tmp/pip-build-uEGWVr/awscli/awscli/customizations/generatecliskeleton.pyR s R c B sa e Z d Z i d d 6d d 6d d 6d d 6d d g d 6Z d � Z d � Z d � Z d � Z RS( s� 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. s generate-cli-skeletont namesJ 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.t help_textt ?t nargst inputt constt outputt choicesc C s# t t | � j | � | | _ d S( N( t superR t __init__t _operation_model( t selfR R ( ( sI /tmp/pip-build-uEGWVr/awscli/awscli/customizations/generatecliskeleton.pyR <