def addCommand(self, packetStart, packetEnd):
        cmdArgs = self.task.arguments.copy()
        if packetStart is not None:
            cmdArgs[self.START_LABEL] = packetStart
        if packetEnd is not None:
            cmdArgs[self.END_LABEL] = packetEnd

        cmdName = "%s_%s_%s" % (self.task.name, str(packetStart), str(packetEnd))
        self.task.addCommand(cmdName, cmdArgs)
Default method to add a command with DefaultTaskDecomposer.
dataset/ETHPy150Open mikrosimage/OpenRenderManagement/src/puliclient/jobs.py/DefaultTaskDecomposer.addCommand