HEX
Server: Apache/2.4.58 (Ubuntu)
System: Linux ip-172-31-18-78 6.17.0-1017-aws #17~24.04.1-Ubuntu SMP Tue May 26 21:09:53 UTC 2026 aarch64
User: ubuntu (1000)
PHP: 8.2.31
Disabled: NONE
Upload Files
File: //lib/python3/dist-packages/docutils/__pycache__/__main__.cpython-312.pyc
�

�dd)���dZddlZddlZddlZddlZddlmZmZmZGd�dej�Z
d�Zedk(rBejdjd�rd	ejzejd<e�yy)
z�Generic command line interface for the `docutils` package.

See also
https://docs.python.org/3/library/__main__.html#main-py-in-python-packages
�N)�	Publisher�publish_cmdline�default_descriptionc	�R�eZdZdZddddgddd�fd	d
gddd�fd
dgddd�fffZdZdZy)�CliSettingsSpecu�Runtime settings & command-line options for the generic CLI.

    Configurable reader, parser, and writer components.

    The "--writer" default will change to 'html' in Docutils 2.0
    when 'html' becomes an alias for the current value 'html5'.
    zDocutils Application Optionsz�Reader, writer, and parser settings influence the available options.   Example: use `--help --writer=latex` to see LaTeX writer options. z$Reader name (currently: "%default").�--reader�
standalonez<reader>)�default�metavarz$Parser name (currently: "%default").�--parser�rstz<parser>z$Writer name (currently: "%default").�--writer�html5z<writer>zdocutils application)zdocutils-cli application�applicationsN)�__name__�
__module__�__qualname__�__doc__�
settings_spec�config_section�config_section_dependencies���3/usr/lib/python3/dist-packages/docutils/__main__.pyrrsn���	'�	O�1��,�L�Z�H�
J�
0��,�E�j�A�
C�
0��,�G�
�C�
E�		��M�,�N�#3�rrc��tjtjd�dtz}t	�jt��}tjdd��}|jd|j��|jd|j��|jd	|j��|j�\}}|jt_	t!|j|j|jt||�
�y#t"$r8}t%d|zt&j(��d
|vr�t%d�Yd}~yd}~wwxYw)z?Generic command line interface for the Docutils Publisher.
    �z(Convert documents into useful formats.  )rF)�add_help�allow_abbrevr)r
rr)�reader_name�parser_name�writer_namer�description�argvz%s.)�filez--tracebackz"Use "--traceback" to show details.N)�locale�	setlocale�LC_ALLrr�get_settingsr�argparse�ArgumentParser�add_argument�reader�parser�writer�parse_known_args�__dict__�settings_default_overridesr�ImportError�print�sys�stderr)r"�
components�	argparser�args�	remainder�errors      r�mainr;8s�����V�]�]�B�'�=�(�)�K���)�)��)�H�J��'�'��U�K�I�
���:�z�/@�/@��A�
���:�z�/@�/@��A�
���:�z�/@�/@��A�!�2�2�4��T�9�15���O�.�8��D�K�K�$(�K�K�$(�K�K�&5�$/�&�	(���8�
�e�e�m�#�*�*�-��I�%���6�7�7��8�s�#3D�	E� .E�E�__main__z__main__.pyz%s -m docutils)rr)r%r4�docutils�
docutils.corerrr�SettingsSpecrr;rr#�endswith�
executablerrr�<module>rBsv����
�
��I�I�3�h�+�+�3�6!8�H�z��
�x�x��{���M�*�&����7�������F�	r