Uname: Linux premium264.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64
Software: LiteSpeed
PHP version: 8.3.22 [ PHP INFO ] PHP os: Linux
Server Ip: 69.57.162.13
Your Ip: 216.73.216.219
User: workvvfb (1129) | Group: workvvfb (1084)
Safe Mode: OFF
Disable Function:
NONE

name : cmd.cpython-312.pyc
�

|��g�
���ddlmZddlmZddlmZddlZddlmZddlm	Z	ddl
mZd�Zd	�Z
dd
�Zedk(re�yy)
�)�ArgumentParser)�dirname)�isfileN)�
exceptions)�TemplateLookup)�Templatec�6�d|vr|dfS|jdd�S)N�=��)�split)�vars �7/opt/hc_python/lib/python3.12/site-packages/mako/cmd.py�varsplitrs$��
�#�~��R�y���9�9�S�!���c��tjjtj�j��tjd�y)Nr)�sys�stderr�writer�text_error_template�render�exit�rr�_exitrs1���J�J���Z�3�3�5�<�<�>�?��H�H�Q�Krc���t�}|jdgdd��|jdgdd��|jddd�	�|jd
dd�	�|jdd
d��|j|�}|j}|j}|j
dk(rH|jxsdg}t|�}	ttjj�||��}nY|j
}t|�std|z��|jxst|�g}t|�}	t|||��}t!d�|j"D��}		j$di|	��}
|rt'|d|��j)|
�ytj*j)|
�y#t�Y�}xYw#t�Y��xYw#t�YyxYw)Nz--var�appendz5variable (can be used multiple times, use name=value))�default�action�helpz--template-dirz�Directory to use for template lookup (multiple directories may be provided). If not given then if the template is read from stdin, the value defaults to be the current directory, otherwise it defaults to be the parent directory of the file provided.z--output-encodingzforce output encoding)rrz
--output-filez6Write to file upon successful render instead of stdout�input�?�-)�nargsr�.)�lookup�output_encodingzerror: can't find %s)�filenamer%r&c3�2K�|]}t|����y�w�N)r)�.0rs  r�	<genexpr>zcmdline.<locals>.<genexpr>Vs����
3�{��h�s�m�{�s��wt)�encodingr)r�add_argument�
parse_argsr&�output_filer �template_dirrrr�stdin�readrr�
SystemExitr�dictrr�openr�stdout)�argv�parser�optionsr&r0�lookup_dirsr%�templater'�kw�rendereds           r�cmdliner?s���
�
�F�
������
D�	��������1�	�	�����T�0G��������
E���
����s�C��8�����%�G��-�-�O��%�%�K��}�}����*�*�3�s�e����,��	���	�	��� �� /��H��=�=���h���3�h�>�?�?��*�*�A�w�x�/@�.A����,��	��!�� /��H�
�
3�w�{�{�
3�	3�B�'�"�8�?�?�(�R�(�����d�_�=�C�C�H�M��J�J���X�&��5	��G��	��G��
�
��s$�*F9�<G
�'G�9G�
G�G)�__main__r))�argparser�os.pathrrr�makor�mako.lookupr�
mako.templaterrrr?�__name__rrr�<module>rGsA��$���
��&�"���
D'�N�z���I�r
© 2025 GrazzMean