https://t.me/AnonymousX5
Server : Apache
System : Linux cvar2.toservers.com 3.10.0-962.3.2.lve1.5.73.el7.x86_64 #1 SMP Wed Aug 24 21:31:23 UTC 2022 x86_64
User : njnconst ( 1116)
PHP Version : 8.4.18
Disable Function : NONE
Directory :  /opt/alt/python37/lib/python3.7/site-packages/clwpos/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //opt/alt/python37/lib/python3.7/site-packages/clwpos/__pycache__/parse.cpython-37.pyc
B

A�c��@s`ddlmZddlZddlmZmZmZmZddlm	Z	Gdd�dej
ej�ZGdd�d�Z
dS)	�)�absolute_importN)�Tuple�List�Dict�Any)�is_cl_shared_pro_editioncseZdZ�fdd�Z�ZS)�CustomFormattercst�j||ddd���dS)N���)�widthZmax_help_position)�super�__init__)�self�args�kwargs)�	__class__��=/opt/alt/python37/lib/python3.7/site-packages/clwpos/parse.pyr
szCustomFormatter.__init__)�__name__�
__module__�__qualname__r
�
__classcell__rr)rrrsrc@sXeZdZdZdd�Zddd�Zdd�Zeeee	e
ee	ffd	�d
d�Zdd
�Z
dS)�ArgumentParserzHelper to create parsers.cOs4tj||�|_|jjddd�|_i|_|jj|_dS)N�commandT)�destZrequired)�argparser�_parserZadd_subparsers�
_subparser�_subparsers�add_argument)rrrrrrr
szArgumentParser.__init__Ncs���fdd�}|S)Ncs0t�s
�s,�jj|j�dd�f���j|j<|S)N�_�-)rrZ
add_parserr�replacer)�method)r�only_for_shared_prorrr�	decorators
z)ArgumentParser.command.<locals>.decoratorr)rr$rr%r)rr$rrrszArgumentParser.commandcs���fdd�}|S)Ncs�j|jj���|S)N)rrr)r#)rrrrrr%(sz*ArgumentParser.argument.<locals>.decoratorr)rrrr%r)rrrr�argument'szArgumentParser.argument)�arguments_paramscs���fdd�}|S)z�
        Create mutually exclusive group with arguments
        `argument_params` is a list of tuples with *args and **kwargs to create arguments in the group
        cs:�j|jjf��}x �D]}|j|d|d�qW|S)Nr�)rrZadd_mutually_exclusive_groupr)r#�groupr&)r'rrrrr%7s
z8ArgumentParser.mutual_exclusive_group.<locals>.decoratorr)rr'rr%r)r'rrr�mutual_exclusive_group.s	z%ArgumentParser.mutual_exclusive_groupcCs|j�|�S)N)r�
parse_args)rrrrrr+@szArgumentParser.parse_args)N)rrr�__doc__r
rr&rrrr�strr*r+rrrrrs
		&r)Z
__future__rr�typingrrrrZclcommon.lib.cleditionrZArgumentDefaultsHelpFormatterZ
HelpFormatterrrrrrr�<module>s


https://t.me/AnonymousX5 - 2025