docs: def distroinfo(cargs, version=__version__):
      """
      distroinfo Command-Line Interface
  
      """
      code = 1
      args = docopt(__doc__, argv=cargs)
      try:
          if args['--version']:
              if not version:
                  version = 'N/A'
              print(version)
              code = 0
          elif args['fetch']:
              code = fetch(
                  info_url=args['<info-url>'],
                  info_files=args['<info-file>'],
                  cache_dir=args['--cache-dir'],
                  fetcher=args['--fetcher'],
              )
          elif args['dump']:
              code = dump(
                  info_url=args['<info-url>'],
                  info_files=args['<info-file>'],
                  yaml_out=args['--yaml-out'],
                  json_out=args['--json-out'],
                  cache_dir=args['--cache-dir'],
                  fetcher=args['--fetcher'],
              )
      except (
              exception.InvalidInfoFormat,
              KeyboardInterrupt,
      ) as ex:
          code = getattr(ex, 'exit_code', code)
          print("")
          print(str(ex) or type(ex).__name__)
  
      return code