def METHOD_NAME(self):
    if len(self.arguments.channels) == 0:
        for channel in self.dev.channels:
            channel.enabled = True
    else:
        for channel_idx in self.arguments.channels:
            self.dev.channels[int(channel_idx)].enabled = True
    return self