@click.command()
@click.option('--foo', prompt=True)
def test(foo):
    click.echo(('foo=%s' % foo))
@click.command()
@click.option('--foo', prompt=True)
def test(foo):
    click.echo(('foo=%s' % foo))