Submit
Path:
~
/
/
lib
/
python2.7
/
site-packages
/
awscli
/
customizations
/
File Content:
cliinputjson.pyc
� =��Xc @ sh d d l 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 S( i����N( t get_paramfile( t ParamError( t OverrideRequiredArgsArgumentc C s | j d t � d S( Ns building-argument-table( t registert add_cli_input_json( t cli( ( sB /tmp/pip-build-uEGWVr/awscli/awscli/customizations/cliinputjson.pyt register_cli_input_json s c K s, d | k r( t | � } | j | � n d S( Nt outfile( t CliInputJSONArgumentt add_to_arg_table( t sessiont argument_tablet kwargst cli_input_json_argument( ( sB /tmp/pip-build-uEGWVr/awscli/awscli/customizations/cliinputjson.pyR s R c B sF e Z d Z i d d 6d d 6Z d � Z d � Z d � Z d � Z RS( s# 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. s cli-input-jsont names� 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.t help_textc C s t t | � j | � d S( N( t superR t __init__( t selfR ( ( sB /tmp/pip-build-uEGWVr/awscli/awscli/customizations/cliinputjson.pyR 0 s c C s- | j j d | j � t t | � j � d S( Ns calling-command.*( t _sessionR t add_to_call_parametersR R t _register_argument_action( R ( ( sB /tmp/pip-build-uEGWVr/awscli/awscli/customizations/cliinputjson.pyR 3 s c K s� t | d d � } | d k r� t | � } | d k r? | } n y t j | � } Wn/ t k r� } t | j d | | f � � n X| j | | � n d S( Nt cli_input_jsons"