def parse_reboot(rule):
    parser = argparse.ArgumentParser()
    rules = shlex.split(rule)
    rules.pop(0)
    parser.add_argument('--eject', dest='eject', action='store_true')

    args = clean_args(vars(parser.parse_args(rules)))
    parser = None
    return args
Setters exist for well-known settings.
dataset/ETHPy150Open saltstack/salt/salt/utils/kickstart.py/parse_reboot--crossover with--dataset/ETHPy150Open python-hyper/hyper-h2/test/test_settings.py/TestSettings.test_settings_setters