pub fn theme_setting_pull(
config: &Config,
discourse_name: &str,
theme_id: u64,
local_path: Option<&Path>,
) -> Result<()>Expand description
Pull a theme/component’s settings to a local file for offline editing.
JSON-schema list settings (e.g. header_links, dropdown_links) arrive
from Discourse as a single string of escaped JSON; this expands them to
real arrays so they can be edited by hand rather than as one escaped line.
YAML by default; a .json destination writes JSON.