save_brand: Save Brand Configuration to Global froggeR Settings
Description
This function saves the current _brand.yml file from an existing froggeR
Quarto project to your global (system-wide) froggeR configuration. This allows
you to reuse brand settings across multiple projects.
Usage
save_brand(save_logos = TRUE)
Value
Invisibly returns NULL after saving configuration file.
Arguments
save_logos
Logical. Should logo files from the logos directory also
be saved to global configuration? Default is TRUE.
Details
This function:
Reads the project-level _brand.yml file
Saves it to your system-wide froggeR config directory
Optionally copies the logos directory for reuse in future projects
Prompts for confirmation if a global configuration already exists
The saved configuration is stored in rappdirs::user_config_dir('froggeR')
and will automatically be used in new froggeR projects created with
init or write_brand.
# Save brand settings from current project to global configif (interactive()) save_brand()
# Save brand settings but skip logosif (interactive()) save_brand(save_logos = FALSE)