parameters: (botClass)
docstring: Looks on the command line for information about the bot wrapper to create.
docstring_summary: Looks on the command line for information about the bot wrapper to create.
docstring_tokens: Looks on the command line for information about the bot wrapper to create .
function: def run(botClass):
      '''
      Looks on the command line for information about the bot wrapper to create.
      '''
      # decode json keyword arguments
      try:
          opts = json.loads(sys.argv[1])
      except Exception:
          # no-op on any kind of error; creation of wrapper expected to happen
          # in some other way
          return
      # import wrapper to use based on managerId
      mod = __import__('coweb.bot.wrapper.%s' % opts['managerId'], fromlist=[''])
      mod.run(botClass, opts)
function_tokens: def run ( botClass ) : # decode json keyword arguments try : opts = json . loads ( sys . argv [ 1 ] ) except Exception : # no-op on any kind of error; creation of wrapper expected to happen # in some other way return # import wrapper to use based on managerId mod = __import__ ( 'coweb.bot.wrapper.%s' % opts [ 'managerId' ] , fromlist = [ '' ] ) mod . run ( botClass , opts )