def func(self):
        "list the cmdsets"

        caller = self.caller
        if self.arglist:
            obj = caller.search(self.arglist[0])
            if not obj:
                return
        else:
            obj = caller
        string = "%s" % obj.cmdset
        caller.msg(string)
dataset/ETHPy150Open evennia/evennia/evennia/commands/default/building.py/CmdListCmdSets.func/original