def __getitem__(self, args):
        if not isinstance(args, (tuple, list)):
            args = [args, ]
        if not args:
            return self
        else:
            return ConcurrentCommand(*(cmd[args] for cmd in self.commands))
Creates a bound-command with the given arguments
dataset/ETHPy150Open tomerfiliba/plumbum/experiments/parallel.py/ConcurrentCommand.__getitem__