Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
12 lines (8 sloc) 225 Bytes
import click
@click.command()
@click.option('--name', type=str, envvar='NAME')
@click.option('--age', type=int)
def cli(name: str, age: int):
click.echo('{} {}'.format(name, age))
if __name__ == '__main__':
cli()
You can’t perform that action at this time.