click-repl
click-repl copied to clipboard
Click-repl tab completion does not work with help in options
It seems like tab completion does not work when one of the options has a help field?
import click
from click_repl import register_repl
@click.group()
def cli():
pass
@cli.command()
@click.option('--test', default=1, show_default=True, help='Test help')
def hello(test):
click.echo("Hello world!")
register_repl(cli)
cli()
Option test does not show up in tab completion, but when the help='Test help' is removed it will show up. Is this a bug?