text: import click
  import click_completion
  
  
  @click.command()
  @click.argument(
      "shell",
      required=False,
      type=click_completion.DocumentedChoice(click_completion.core.shells),
  )
  def autocomplete(shell):
      """Enable the command auto completion."""
  
      shell, path = click_completion.core.install(
          shell=shell,
          append=True,
          extra_env={"_CLICK_COMPLETION_COMMAND_CASE_INSENSITIVE_COMPLETE": "ON"},
      )
      click.secho(f"{shell} completion installed in {path}")
  