opt
/
hc_python
/
lib
/
python3.12
/
site-packages
/
identify
/
__pycache__
/
Go to Home Directory
+
Upload
Create File
root@0UT1S:~$
Execute
By Order of Mr.0UT1S
[DIR] ..
N/A
__init__.cpython-312.pyc
161 bytes
Rename
Delete
cli.cpython-312.pyc
1.39 KB
Rename
Delete
extensions.cpython-312.pyc
17.55 KB
Rename
Delete
identify.cpython-312.pyc
10.85 KB
Rename
Delete
interpreters.cpython-312.pyc
932 bytes
Rename
Delete
� !��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'