click-repl
click-repl copied to clipboard
click v7 breaks repl help
When upgrading to click==7.0
commands help are not displayed anymore. Sample code:
from __future__ import print_function
import click
import click_repl
@click.group()
def cli():
pass
@cli.command()
def test1():
"""test 1 help"""
print("in test 1")
@cli.command()
def test2():
"""test 2 help"""
print("in test 2")
@cli.command()
def repl():
click_repl.repl(click.get_current_context())
if __name__ == '__main__':
cli()
@TizianoPerrucci: Can you provide expected and actual output? I see this when I call --help
on the example cli with click 7.0:
./tmp --help
Usage: tmp [OPTIONS] COMMAND [ARGS]...
Options:
--help Show this message and exit.
Commands:
repl
test1 test 1 help
test2 test 2 help
what is the status of current release?
This issue is no more relevant at all, the help message gets printed in click v7 @auvipy , you can close this issue as well