Skip to main content

append_config

Function append_config 

Source
pub fn append_config(text: &str, snippet: &str) -> String
Expand description

snippet added to a config file’s text. A YAML snippet that opens with a top-level key the file already has (extensions: in Goose’s config.yaml) goes under that key, since a second one is a duplicate key; anything else is appended.