| Server IP : 198.54.126.161 / Your IP : 216.73.217.37 Web Server : LiteSpeed System : Linux premium12.web-hosting.com 4.18.0-553.94.1.lve.el8.x86_64 #1 SMP Thu Jan 22 12:37:22 UTC 2026 x86_64 User : amerfigf ( 898) PHP Version : 8.2.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /opt/hc_python/lib64/python3.12/site-packages/identify/__pycache__/ |
Upload File : |
�
���g� � �f � d dl mZ d dlZd dlZd dlmZ d dlmZ ddd�Zedk( r
e e� � �y) � )�annotationsN)�Sequence)�identifyc � � t j � }|j dd�� |j d� |j | � }|j rt
j }nt
j } t ||j � � }|syt t j |� � y# t $ r}t |� Y d }~yd }~ww xY w)Nz--filename-only�
store_true)�action�path� r )�argparse�ArgumentParser�add_argument�
parse_args�
filename_onlyr �tags_from_filename�tags_from_path�sortedr �
ValueError�print�json�dumps)�argv�parser�args�func�tags�es �;/opt/hc_python/lib/python3.12/site-packages/identify/cli.py�mainr
s� � �
�
$�
$�
&�F�
���)�,��?�
��������T�"�D�����*�*���&�&����d�4�9�9�o�&��
��
�d�j�j������ � �
�a�����s �8B5 �5 C�>C�C�__main__)N)r zSequence[str] | None�return�int)
�
__future__r r r �collections.abcr r r �__name__�
SystemExit� � r �<module>r( s5 �� "� � � $� ��0 �z��
�T�V�
�� r'