maple.utils.config.Config.save

Config.save(path: Path = None) None

Save configuration to YAML file.

Creates parent directories if they don’t exist. The saved file preserves the hierarchical structure and uses human-readable YAML formatting.

Parameters:

path – Path to save config file (default: ~/.maple/config.yaml).