code: def main():
      params = arguments.ConfigArgumentParser(
          description="CLI to build knn index."
      )
      arguments.add_build_knn_index_args(params)
      arguments.add_logging_args(params)
      arguments.add_device_args(params)
      args = params.parse_args()
  
      build_knn_index_package(args)
  
imports: from dataclasses import dataclass
  import logging
  import numpy
  import os
  import shutil
  from typing import Optional
  from .None import arguments
  from sockeye import config, utils, constants
  from sockeye.log import setup_main_logger
label_desc: Use image node_id 5 for calling a global function with example usage: main() without return types