cellar/src/cellar.cpp

20 lines
311 B
C++
Raw Normal View History

2017-03-12 17:13:07 -07:00
#include <iostream>
#include <string>
2017-03-12 22:33:42 -07:00
#include <vector>
2017-03-12 17:13:07 -07:00
#include "json.hpp"
2017-03-12 17:13:07 -07:00
2017-03-13 19:03:07 -07:00
#include "bottles.hpp"
2017-03-12 17:13:07 -07:00
2017-03-12 22:33:42 -07:00
using namespace std;
using json = nlohmann::json;
2017-03-12 17:13:07 -07:00
2017-03-12 22:33:42 -07:00
int main(int argc, char* argv[]) {
2017-03-13 19:03:07 -07:00
vector<string> bottles = cellar::bottles::list();
for (string item : bottles) {
cout << item << endl;
2017-03-12 22:33:42 -07:00
}
2017-03-13 19:03:07 -07:00
return 0;
2017-03-12 15:43:11 -07:00
}