code: def set_command_attributes(self, name, attributes):
          
          if self.command_exists(name):
              command = self.commands.get(name)
              command['attributes'] = attributes
docs: Sets the xml attributes of a specified command.