CmdReport: Added all config settings to API

This commit is contained in:
Paul Beckingham 2016-03-28 22:53:07 -04:00
parent b2b0c1d4e0
commit e01c031539

View file

@ -84,12 +84,13 @@ int CmdReport (
// Compose Header info.
std::stringstream header;
// TODO Configuration.
// TODO Exclusions.
// TODO Filter.
// TODO CLI.
// TODO Directory containing *.data files.
header << "version=" << VERSION << "\n";
// All configuration.
for (auto& name : rules.all ())
header << name << "=" << rules.get (name) << "\n";
// Compose JSON.
std::stringstream json;