One Hat Cyber Team
Your IP :
3.149.255.21
Server IP :
192.145.235.60
Server :
Linux ngx365.inmotionhosting.com 5.14.0-427.33.1.el9_4.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Aug 30 09:45:56 EDT 2024 x86_64
Server Software :
Apache
PHP Version :
8.2.27
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
opt
/
saltstack
/
salt
/
extras-3.10
/
rads
/
__pycache__
/
Edit File:
color.cpython-310.pyc
o �<�f� � @ sx d Z ddlmZ ddlmZ deeef dedeeef fdd�Zdeeef deeef fd d �Zdeeef deeef fdd�Zdeeef deeef fd d�Z deeef deeef fdd�Z deeef deeef fdd�Zdeeef deeef fdd�Zdeeef deeef fdd�Z deeef deeef fdd�Zdeeef deeef fdd�ZdS )z�Functions for colorizing console text Example individually coloring a print argument: ``print(rads.color.red('test'))`` Example coloring a list and using star-args to print: ``print(*rads.color.red('a', 'b'))`` � )�Union)�Iterable�args�color�returnc s2 � fdd�|D �}|s dS t |�dkr|d S |S )Nc s g | ] }� � |� d ��qS )z[0m� )�.0�x�r r �-/opt/saltstack/salt/extras-3.10/rads/color.py� <listcomp> s z_colorize.<locals>.<listcomp>� � r )�len)r r �outr r r � _colorize s r c G � t | ddi�S )zEColor console text red Args: args: text to colorize r z[91;1m�r �r r r r �red � r c G r )zGColor console text green Args: args: text to colorize r z[92;1mr r r r r �green r r c G r )zHColor console text yellow Args: args: text to colorize r z[93;1mr r r r r �yellow( r r c G r )zFColor console text blue Args: args: text to colorize r z[94;1mr r r r r �blue1 r r c G r )zIColor console text magenta Args: args: text to colorize r z[95mr r r r r �magenta: r r c G r )zFColor console text cyan Args: args: text to colorize r z[96mr r r r r �cyanC r r c G r )zFColor console text bold Args: args: text to colorize r z[1mr r r r r �boldL r r c G r )zKColor console text underline Args: args: text to colorize r z[4mr r r r r � underlineU r r c G r )zJColor console text inverted Args: args: text to colorize r z[7mr r r r r �invert^ r r N)�__doc__�typingr �collections.abcr �strr r r r r r r r r r r r r r �<module> s &" " " " " " " " &
Simpan