code: def download_cli(
      # fmt: off
      ctx: typer.Context,
      model: str = Arg(..., help="Name of pipeline package to download"),
      direct: bool = Opt(False, "--direct", "-d", "-D", help="Force direct download of name + version"),
      sdist: bool = Opt(False, "--sdist", "-S", help="Download sdist (.tar.gz) archive instead of pre-built binary wheel"),
      # fmt: on
  ):
      """
      Download compatible trained pipeline from the default download path using
      pip. If --direct flag is set, the command expects the full package name with
      version. For direct downloads, the compatibility check will be skipped. All
      additional arguments provided to this command will be passed to `pip install`
      on package installation.
  
      DOCS: https://spacy.io/api/cli#download
      AVAILABLE PACKAGES: https://spacy.io/models
      """
      download(model, direct, sdist, *ctx.args)
  
file_path: spacy/spacy/cli/download.py
imports: import sys
  from typing import Optional, Sequence
  import requests
  import typer
  from wasabi import msg
  from ..None import about
  from ..errors import OLD_MODEL_SHORTCUTS
  from ..util import get_minor_version, is_in_interactive, is_in_jupyter, is_package, is_prerelease_version, run_command
  from ._util import SDIST_SUFFIX, WHEEL_SUFFIX, Arg, Opt, app
label_desc: Use image node_id 1 for calling a global function with example usage: download_cli(ctx, model, direct, sdist) without return types