now reads names from cellar.json

This commit is contained in:
Nicholas O'Connor
2017-03-12 23:39:03 -07:00
parent e30cddee84
commit 252b2fdfe6
2 changed files with 8 additions and 2 deletions

View File

@@ -30,8 +30,8 @@ int main(int argc, char* argv[]) {
stringstream sstr;
sstr << configstream.rdbuf();
config = json::parse(sstr.str());
cout << "has a json" << endl;
cout << "- " << config["name"];
}
catch (const exception &exc) {
cout << "- bogus cellar.json file" << endl;