def tool(tool_name, commands=None):

    def class_rebuilder(cls):
        instance = cls()
        instance.name = tool_name
        if not hasattr(instance, 'commands'):
            instance.commands = commands if commands is not None else []
        register_tool(instance)
        return cls

    return class_rebuilder
This will return the children of this item or null if there are
dataset/ETHPy150Open bjorns/aem-cmd/acmd/tool_repo.py/tool--crossover with--dataset/ETHPy150Open rwl/muntjac/muntjac/ui/menu_bar.py/MenuItem.getChildren