code: def main():
      parser = argparse.ArgumentParser(description="EvaDB Server")
  
      parser.add_argument(
          "--host",
          help="Specify the host address on which the server will start.",
      )
  
      parser.add_argument(
          "--port",
          help="Specify the port number on which the server will start.",
      )
  
      parser.add_argument(
          "--db_dir",
          help="Specify the evadb directory which the server should access.",
      )
  
      parser.add_argument(
          "--sql_backend",
          help="Specify the custom sql database to use for structured data.",
      )
  
      parser.add_argument(
          "--start",
          help="start server",
          action="store_true",
          default=True,
      )
  
      parser.add_argument(
          "--stop",
          help="stop server",
          action="store_true",
          default=False,
      )
  
      ## PARSE ARGS
      args, unknown = parser.parse_known_args()
  
      args.host = args.host or "0.0.0.0"
      args.port = args.port or "8803"
      # Stop server
      if args.stop:
          return stop_server()
  
      # Start server
      if args.start:
          asyncio.run(
              start_evadb_server(
                  args.db_dir, args.host, args.port, args.sql_backend
              )
          )
  
file_path: evadb/evadb/evadb_server.py
imports: import argparse
  import asyncio
  import sys
  from os.path import abspath, dirname, join
  from signal import SIGTERM
  from psutil import process_iter
  from evadb.server.server import EvaServer
label_desc: Use image node_id 2 for calling a global function with example usage: main() and returns: stop_server