code: def run():
      
      sys.path.insert(0, os.getcwd())
      logging.basicConfig(level=logging.INFO, handlers=[logging.StreamHandler()])
  
      parser = argparse.ArgumentParser(description="Manage Application", add_help=False)
      parser.add_argument('app', metavar='app',
                          type=str, help='Application module path')
      parser.add_argument('--config', type=str, help='Path to configuration.')
      parser.add_argument('--version', action="version", version=__version__)
  
      args_, subargs_ = parser.parse_known_args(sys.argv[1:])
      if args_.config:
          os.environ[CONFIGURATION_ENVIRON_VARIABLE] = args_.config
  
      from gunicorn.util import import_app
  
      app_uri = args_.app
      if ':' not in app_uri:
          app_uri += ':app'
      try:
          app = import_app(app_uri)
          app.uri = app_uri
          app.logger.info('Application is loaded: %s' % app.name)
      except Exception as exc:
          logging.exception(exc)
          raise sys.exit(1)
  
      app.manage(*subargs_, prog='muffin %s' % args_.app)
docs: CLI endpoint.