pub fn load_config(config_path: &Path) -> Result<LandConfig, String>Expand description
Loads the land-config.json file from a specific path.
§Arguments
config_path- Path to the configuration file
§Returns
Result containing the parsed LandConfig or an error
§Example
use crate::Maintain::Source::Build::Rhai::load_config;
let config = load_config(".vscode/land-config.json")?;
let debug_profile = config.profiles.get("debug");