buffalo_panel.config.save_panel_case
- buffalo_panel.config.save_panel_case(spec, path)[source]
Serialize a typed panel case spec to a JSON or YAML file.
- Parameters:
spec (
PanelCaseSpec) – Typed panel case specification to serialize.path (
str | Path) – Destination file path. Supported suffixes are.json,.yaml, and.yml.
- Raises:
ValueError – If the file suffix is unsupported.