HEX
Server: Apache
System: Linux server2.voipitup.com.au 4.18.0-553.104.1.lve.el8.x86_64 #1 SMP Tue Feb 10 20:07:30 UTC 2026 x86_64
User: posscale (1027)
PHP: 8.2.29
Disabled: exec,passthru,shell_exec,system
Upload Files
File: //opt/saltstack/salt/lib/python3.10/site-packages/relenv/__pycache__/check.cpython-310.pyc
o

�N�g��@sDdZddlZddlZddlZddlmZe��Zdd�Zdd�Z	dS)	z.
Check the integrety of a relenv environment.
�N�)�relocatecCs|jddd�}|jtd�dS)z�
    Setup the subparser for the ``relenv check`` command.

    :param subparsers: The subparsers object returned from ``add_subparsers``
    :type subparsers: argparse._SubParsersAction
    �checkzCheck relenv integrity)�description)�funcN)�
add_parser�set_defaults�main)Z
subparsersZ	subparser�r
�@/opt/saltstack/salt/lib/python3.10/site-packages/relenv/check.py�setup_parsersrcCsJtjtjd�ttd�st�d�t�d�t�	tj
t�tj
�d�dS)z�
    The entrypoint into the ``relenv check`` command.

    :param args: The args passed to the command
    :type args: argparse.Namespace
    )�level�RELENVzNot in a relenv environmentr�libN)
�logging�basicConfig�INFO�hasattr�sys�log�error�exitrr	r�pathlib�Path)�argsr
r
rr	s



r	)
�__doc__rrr�r�	getLoggerrrr	r
r
r
r�<module>s