File: //usr/lib/python3/dist-packages/compose/cli/__pycache__/utils.cpython-310.pyc
o
S�`�
� @ s� d dl Z d dlZd dlZd dlZd dlZd dlZd dlZd dlZd dlZddl m
Z
ddd�Zdd� Zdd � Z
d
d� Zdd
� Zdd� Zdd� Zdd� Zdd� Zdd� Zdd� Zdd� ZdS )� N� ��IS_WINDOWS_PLATFORMc C sH t | ��� �� }|dks|dkrdS |dks|dkrdS |dkr"|S dS ) z�
Prompt the user for a yes or no.
Can optionally specify a default value, which will only be
used if they enter a blank line.
Unrecognised input (anything other than "y", "n", "yes",
"no" or "") will return None.
�y�yesT�n�noF� N)�input�strip�lower)�prompt�default�answer� r �3/usr/lib/python3/dist-packages/compose/cli/utils.py�yesno s
r c C s&