-
Notifications
You must be signed in to change notification settings - Fork 17
Open
Description
From pallets/click#430 (comment):
Using
@click.group(cls=DefaultGroup, default='shell', default_if_no_args=True)
breaks the auto-completion integration with prompt-toolkit
from click-repl.
Why is it preferred versus the following anyway (which works, and does not break click-repl?
@click.group(invoke_without_command=True)
@click.option(
'--profile',
help='profile to use',
default=u'default'
)
@click.pass_context
def cli(ctx, profile):
ctx.obj = Config(_app, profile)
if ctx.invoked_subcommand is None:
ctx.invoke(cmd_shell)
jcollado and selurvedu
Metadata
Metadata
Assignees
Labels
No labels