L2? d dl Z d dlZd dlmZ d dlmZ d dlmZ d dlm Z d dl
mZ d dlm
Z
d dlmZ dd
ededefd
Zdde e defdZedk r e dS dS ) N)dumps)abspath)python_version)List)from_fp)CliDetectionResult)__version__yesquestiondefaultreturnc b dddddd}|d}n$|dk rd}n|dk rd }nt d
|z t j | |z t }||dk r|| S ||v r|| S t j d ~)
a Ask a yes/no question via input() and return their answer.
"question" is a string that is presented to the user.
"default" is the presumed answer if the user just hits