def get_cmds(self):
        sub_cmds = PluginDict()
        # core doit commands
        for cmd_cls in self.DOIT_CMDS:
            sub_cmds[cmd_cls.get_name()] = cmd_cls
        # plugin commands
        sub_cmds.add_plugins(self.config, 'COMMAND')
        return sub_cmds
get all sub-commands
dataset/ETHPy150Open pydoit/doit/doit/doit_cmd.py/DoitMain.get_cmds