def parse_dmraid(rule):
    parser = argparse.ArgumentParser()
    rules = shlex.split(rule)
    rules.pop(0)
    parser.add_argument('--name', dest='name', action='store')
    parser.add_argument('--dev', dest='dev', action='store')

    args = clean_args(vars(parser.parse_args(rules)))
    parser = None
    return args
Configure a previously initialized instance of the class.
dataset/ETHPy150Open saltstack/salt/salt/utils/kickstart.py/parse_dmraid--crossover with--dataset/ETHPy150Open codeforamerica/three/three/core.py/Three.configure