You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
importclick@click.command()@click.option('--count', default=1, help='Number of greetings.')@click.option('--name', prompt='Your name',help='The person to greet.')defhello(count, name):
"""Simple program that greets NAME for a total of COUNT times."""forxinrange(count):
click.echo('Hello %s!'%name)
if__name__=='__main__':
hello()
@blackms Please take a look at click
Seems like a busy project for implementing CLI from an API library: https://github.com/pallets/click/issues
The text was updated successfully, but these errors were encountered: