def added(self, context):
        """
        Ingredient method called before anything else.

        Here this method just builds the full command tree and stores it inside
        the context as the ``cmd_tree`` attribute. The structure of the tree is
        explained by the :func:`build_cmd_tree()` function.
        """
        context.cmd_tree = self._build_cmd_tree(self.command)
        context.cmd_toplevel = context.cmd_tree.cmd_obj
        # Collect spices from the top-level command
        for spice in context.cmd_toplevel.get_cmd_spices():
            context.bowl.add_spice(spice)
Ingredient method called before anything else.

        Here this method just builds the full command tree and stores it inside
        the context as the ``cmd_tree`` attribute. The structure of the tree is
        explained by the :func:`build_cmd_tree()` function.