-
First Check
Commit to Help
Example Codeimport click
@click.command()
@click.option("--count", default=1, help="Number of greetings.")
@click.option("--name", prompt="Your name", help="The person to greet.")
def hello(count, name):
"""Simple program that greets NAME for a total of COUNT times."""
for x in range(count):
click.echo("Hello %s!" % name)
if __name__ == "__main__":
hello(windows_expand_args=False) Description
Operating SystemWindows Operating System DetailsNo response Typer Version0.7.0 Python Version3.10.11 Additional ContextNo response |
Beta Was this translation helpful? Give feedback.
Answered by
akri16
Aug 7, 2023
Replies: 1 comment
-
My bad even Typer App accepts the same argument |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
akri16
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
My bad even Typer App accepts the same argument