code: def add_parser(subparsers, parent_parser):
      LS_HELP = "List directory contents from URL."
      lsurl_parser = subparsers.add_parser(
          "list-url",
          aliases=["ls-url"],
          parents=[parent_parser],
          description=append_doc_link(LS_HELP, "list-url"),
          help=LS_HELP,
          formatter_class=formatter.RawDescriptionHelpFormatter,
      )
      lsurl_parser.add_argument(
          "url",
          help="See `dvc import-url -h` for full list of supported URLs.",
      )
      lsurl_parser.add_argument(
          "-R",
          "--recursive",
          action="store_true",
          help="Recursively list files.",
      )
      lsurl_parser.add_argument(
          "--size",
          action="store_true",
          help="Show sizes.",
      )
      lsurl_parser.add_argument(
          "--fs-config",
          type=str,
          nargs="*",
          action=DictAction,
          help="Config options for the target url.",
      )
      lsurl_parser.set_defaults(func=CmdListUrl)
  
file_path: dvc/dvc/commands/ls_url.py
imports: from dvc.cli import formatter
  from dvc.cli.command import CmdBaseNoRepo
  from dvc.cli.utils import DictAction, append_doc_link
  from dvc.log import logger
  from .ls import show_entries
label_desc: Use image node_id 1 for calling a global function with example usage: add_parser(subparsers, parent_parser) without return types