Файловый менеджер - Редактировать - /opt/cloudlinux/venv/lib/python3.11/site-packages/clwpos/cli_versions/__pycache__/user_api.cpython-311.pyc
Назад
� [ԠgS � �� � d dl mZ d dlZd dlZd dlmZ d dlmZ d dl m Z mZ d dlm Z d dlmZmZ ee� � Z e j d� � e j � � G d � d e � � � � � � ZdS )� )�absolute_importN)�deepcopy)�gettext)�CloudlinuxWposUser�parser)�user_cli_version_registry)�ALL_OPTIMIZATION_FEATURES�Feature�1c �D � e Zd ZdZd� Ze� ed� � �� � d� � � Ze� ed� � �� � d� � � Z e� d ed � � ed d� eD � � �� � e� d ed� � e d�� � e� d ed� � e d �� � e� ed� � �� � d� � � � � � � � � Ze� d ed� � d�� � e� d ed� � d�� � e� d ed� � e d�� � e� d ed� � e d �� � e� d ed� � ed d� eD � � �� � e� dej dd� � � e� ed!� � �� � d"� � � � � � � � � � � � � � � Ze� d#g ed$� � ddd �fd%g ed&� � ddd �fgd �'� � e� d( ed)� � dd ej vodej v�*� � e� d ed+� � e dd(ej v�,� � e� d ed-� � e d(ej v�� � e� ed.� � �� � d/� � � � � � � � � � � Zd0S )1�CloudlinuxWposUserV1a: We announced those commands in public doc as api-version=1, it means that we make any changes to CLI cautiously: - if you are making change which could break backward compatibility (e.g - rename parameter) -> you should create new class e.g CloudlinuxWposAdminV2 and override needed methods c �6 � t � |� � S �N)�versioned_parser� parse_args)�self�argvs �S/opt/cloudlinux/venv/lib64/python3.11/site-packages/clwpos/cli_versions/user_api.py�_parse_argsz CloudlinuxWposUserV1._parse_args$ s � ��*�*�4�0�0�0� zIShows info about all Accelerate optimization features for WordPress sites)�helpc �* � | � � � S r )�_get�r s r �getzCloudlinuxWposUserV1.get'