code: def parse(self, line, namespace=None):
      
      try:
        if namespace is None:
          ipy = IPython.get_ipython()
          namespace = ipy.user_ns
        args = CommandParser.create_args(line, namespace)
        return self.parse_args(args)
      except Exception as e:
        print(str(e))
        return None
docs: Parses a line into a dictionary of arguments, expanding meta-variables from a namespace.