code: def main():
      """Command-line interface."""
      parser = argparse.ArgumentParser()
      parser.add_argument(
          "library", nargs="?", help="the library to document"
      )
      parser.add_argument(
          "--out", default="docs", help="where to dump the docs"
      )
      parser.add_argument(
          "--verbose", dest="verbose", action="store_true"
      )
      parser.set_defaults(verbose=False)
      args = parser.parse_args()
      print_library(
          library=args.library,
          output_dir=pathlib.Path(args.out) / "api",
          verbose=args.verbose,
      )
      linkify_docs(
          library=args.library,
          docs_dir=pathlib.Path(args.out),
          verbose=args.verbose,
      )
  
imports: import argparse
  import collections
  import doctest
  import functools
  import importlib
  import inspect
  import os
  import pathlib
  import re
  import shutil
  from numpydoc.docscrape import ClassDoc, FunctionDoc
label_desc: Use image node_id 17 for calling a global function with example usage: main() without return types