code: def run(filepath, wsgiapp, host, port, reload, interval,
          static, static_root, static_dirs, lineprof, lineprof_file, validate):
      
      insert_import_path_to_sys_modules(filepath)
      module = SourceFileLoader('module', filepath).load_module()
      app = getattr(module, wsgiapp)
  
      if static:
          from wsgi_static_middleware import StaticMiddleware
          app = StaticMiddleware(app, static_root=static_root, static_dirs=static_dirs)
  
      if validate:
          from wsgiref.validate import validator
          app = validator(app)
  
      if lineprof:
          # Caution: wsgi-lineprof is still pre-alpha. Except breaking API Changes.
          from wsgi_lineprof.middleware import LineProfilerMiddleware
          from wsgi_lineprof.filters import FilenameFilter, TotalTimeSorter
  
          if lineprof_file:
              # Now wsgi-lineprof is now supported only 1 file checking.
              lineprof_file = lineprof_file[0]
          else:
              lineprof_file = os.path.basename(filepath)
          filters = [FilenameFilter(lineprof_file), TotalTimeSorter()]
          app = LineProfilerMiddleware(app, filters=filters)
  
      if reload:
          run_live_reloading_server(interval, app=app, host=host, port=port)
      else:
          run_server(app=app, host=host, port=port)
docs: Runs a development server for WSGI Application.
  
      Usage:
  
          $ wsgicli run hello.py app -h 0.0.0.0 -p 5000 --reload
  
          $ wsgicli run hello.py app --static --static-root /static/ --static-dirs ./static/