-
Notifications
You must be signed in to change notification settings - Fork 44
Closed
Description
click_repl works with click==6.7 but upgrading to click==7.0 breaks it. Sample code:
from __future__ import print_function
import click
import click_repl
@click.group()
def cli():
print("in cli")
@cli.command()
def test():
print("in test")
@cli.command()
def repl():
click_repl.repl(click.get_current_context())
if __name__ == '__main__':
cli()
Running with click v6.7, the repl works. With click 7.0, the repl exits after the first command.
jessedusty and theazureshadow
Metadata
Metadata
Assignees
Labels
No labels