Sample CLI
gway cdv save-all
Full Code
def save_all(pathlike: str, all_records: dict[str, dict[str, str]]):
"""
Replace all records in the CDV file at pathlike with the given dict.
"""
path = _resolve_path(pathlike)
_write_table(path, all_records)