code: def get_input(context, conf):
      
      name = conf['name']['value']
      prompt = conf['prompt']['value']
      default = conf['default']['value'] or conf['debug']['value']
  
      if context.submodule or context.inputs:
          value = context.inputs.get(name, default)
      elif not context.test:
          # we skip user interaction during tests
          raw = raw_input("%s (default=%s) " % (encode(prompt), encode(default)))
          value = raw or default
      else:
          value = default
  
      return value
docs: Gets a user parameter, either from the console or from an outer
          submodule/system
  
         Assumes conf has name, default, prompt and debug