Is it possible to define an option's default value to another argument in click?
What I'd like would be something like:
@click.command()
@click.argument('project')
@click.option('--version', default=project)
def main(project, version):
...
If the option --version is empty, it would automatically take project's value. Is something like this possible?