text: import pkg_resources
  from ros2cli.verb import VerbExtension
  
  from launch import LaunchService
  
  from ..launch_description import get_launch_description
  
  class ServerVerb(VerbExtension):
      """Start the server."""
      
      def add_arguments(self, parser, cli_name):
          pass
      
      def main(self, *, args):
          launch_service = LaunchService(argv=[], debug=False)
          try:
              ld = get_launch_description()
              launch_service.include_launch_description(ld)
              launch_service.run()
          except Exception as e:
              print("Exception: ", e)
          finally:
              pass
  
          # for plugin in pkg_resources.iter_entry_points('ros2pkgapi.plugin'):
          #     func = plugin.load()
          #     msg = '{0}: {1}'.format(plugin.name, func.main())
          #     print(msg)