def _set_config(host, port, username, password, project_name, db_location, config_file): """Will write the configuration to config file""" click.echo("Writing config to {} ... ".format(config_file), nl=False) set_config( host, port, username, password, project_name, db_location, config_file=config_file, ) click.echo("[Success]")
def _set_config( host, port, username, password, project_name, db_location, log_level, config_file ): """writes the configuration to config file""" set_config( host, port, username, password, project_name, db_location, log_level, config_file=config_file, )