def cli_vars_to_dict(self, tplvars):

        d = {}
        failed = []

        for v in tplvars:
            try:
                varname, varval = v.split('=')
            except ValueError:
                failed.append(v)
                continue

            d[varname] = varval

        return d, failed
Converts a list of variables and values in the format NAME=VALUE
dataset/ETHPy150Open verbosemode/confplate/confplate/confplate.py/Cli.cli_vars_to_dict