%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /lib/python3/dist-packages/sos/report/plugins/__pycache__/
Upload File :
Create Path :
Current File : //lib/python3/dist-packages/sos/report/plugins/__pycache__/npm.cpython-312.pyc

�

i��d���N�ddlZddlmZmZmZGd�dee�ZGd�de�Zy)�N)�Plugin�IndependentPlugin�	PluginOptc�D�eZdZdZdZdZedded��gZdZ	dd
�Z
d�Zy	)
�Npmz&Information from available npm modules�npm)�system�project_path�z+Collect npm modules of project at this path)�default�val_type�desc)rNc�.�|j||d|��y)NF)�suggest_filename�stderr�runat)�add_cmd_output)�self�cmd�filename�working_directorys    �8/usr/lib/python3/dist-packages/sos/report/plugins/npm.py�_get_npm_outputzNpm._get_npm_outputs!������%��#�		�	
�c�T�|jd�rstjjtjj	|jd���}|jdd|��|jdd|��|jdd�|jdd	�y)
Nr
z
npm ls --json�npm_ls_project)rznpm config list -l�npm_config_list_projectznpm ls -g --json�
npm_ls_global�npm_config_list_global)�
get_option�os�path�abspath�
expanduserr)rr
s  r�setupz	Npm.setup%s����?�?�>�*��7�7�?�?�2�7�7�+=�+=�����/�,1�2�L�� � ��2B�3?�
!�
A�� � �!5�!:�3?�
!�
A�	
���/��A����1�3K�Lr)N)�__name__�
__module__�__qualname__�
short_desc�plugin_name�profilesr�str�option_list�packagesrr%�rrrrs<��9�J��K��H��.�"�s�D�	F��K��H�
�Mrrc��eZdZdZdZy)�NpmViaNodeJSzG
    some distribution methods don't provide 'npm' via npm package
    )�nodejsN)r&r'r(�__doc__r.r/rrr1r13s����Hrr1)r!�sos.report.pluginsrrrrr1r/rr�<module>r5s.��
�C�C�!M�&�#�!M�H�3�r

Zerion Mini Shell 1.0