docs: def parse(cls, expression):
          """
          Parse the given console command definition into a dict.
  
          :param expression: The expression to parse
          :type expression: str
  
          :rtype: dict
          """
          parsed = {"name": None, "arguments": [], "options": []}
  
          if not expression.strip():
              raise ValueError("Console command signature is empty.")
  
          expression = expression.replace(os.linesep, "")
  
          matches = re.match(r"[^\s]+", expression)
  
          if not matches:
              raise ValueError("Unable to determine command name from signature.")
  
          name = matches.group(0)
          parsed["name"] = name
  
          tokens = re.findall(r"\{\s*(.*?)\s*\}", expression)
  
          if tokens:
              parsed.update(cls._parameters(tokens))
  
          return parsed