관리-도구
편집 파일: post_modify_admin.cpython-311.pyc
� \�DgF � �, � d Z ddlZddlmZ ddlmZ edk r� e� � ej e �� � Ze� d�� � Z e � d � � Ze� d ddd �� � e � d� � Ze� d ddd�� � e� � � Z e� � Zej d k re� ej � � dS ej dk re� ej � � dS e�dS )z� Admin account POST modification hook. This script must be called AFTER different admin-related changes in control panel. See --help and docs for detailed description of actions and parameters. � N)�ModifyAdminHook)�setup_logger_and_sentry�__main__)�description�command)�dest�createz--namez-nTz#Name of newly created admin account)�required�help�deletezName of deleted admin account)�__doc__�argparse�clcommon.public_hooks.libr �clcommon.public_hooksr �__name__�ArgumentParser�parser�add_subparsers� subparsers� add_parserr �add_argumentr � parse_args�args�listenerr �post_create_admin�name�post_delete_admin�NotImplementedError� � ��/builddir/build/BUILD/imunify360-venv-2.4.0/opt/imunify360/venv/lib/python3.11/site-packages/clcommon/public_hooks/bin/post_modify_admin.py�<module>r"