111213def install_callback(ctx: click.Context, param: click.Parameter, value: Any) -> Any:14 if not value or ctx.resilient_parsing:15- return value15+ return value # pragma no cover16 shell, path = click_completion.core.install()17 click.secho(f"{shell} completion installed in {path}.", fg="green")18 click.echo("Completion will take effect once you restart the terminal.")19 sys.exit(0)202122def show_callback(ctx: click.Context, param: click.Parameter, value: Any) -> Any:23 if not value or ctx.resilient_parsing:24- return value24+ return value # pragma no cover25 click.echo(click_completion.core.get_code())26 sys.exit(0)2728
15 unmodified lines
44 expose_value=False,45 help="Show completion for the current shell, to copy it or customize the installation.",46 ),47) -> Any:48- pass48+ pass # pragma no cover