def save(toml_config):

    serial = toml.dumps(toml_config._dictionary)
    path = util.get_config_path()
    with util.open_file(path, 'w') as config_file:
        config_file.write(serial)
:param toml_config: TOML configuration object
dataset/ETHPy150Open dcos/dcos-cli/dcos/config.py/save