struct mola::YAMLParseOptions

Overview

For use in parseYaml()

#include <yaml_helpers.h>

struct YAMLParseOptions
{
    // fields

    bool doIncludes {true};
    bool doCmdRuns {true};
    bool doEnvVars {true};
    std::map<std::string, std::string> variables;
    std::string includesBasePath;
};

Fields

bool doIncludes {true}

“$include{}”s

bool doCmdRuns {true}

“$()”s

bool doEnvVars {true}

“${}”s (from env vars and field “variables”)

std::map<std::string, std::string> variables

Custom variables for replacements like ${name} => value

std::string includesBasePath

If not empty, base reference path which respect to “$include{}”s are specified. Automatically filled in by load_yaml_file()