problem description
@ click.option how to add logical judgment?
related codes
for example:
@click.option("--label1")
@click.option("--label2")
@click.option("--label3")
def main_app_init(label1="", label2="", label3=""):
pass
detailed description
how to implement, when label1 is a certain value or meets certain conditions, let it run and accept the input of label2, and be responsible for label3. In fact, it is how to realize the logical judgment and processing in the process of command line interaction.