paxos/src/main.cc

11 lines
206 B
C++
Raw Normal View History

2020-05-05 12:11:54 +00:00
#include <iostream>
#include "config/config.hh"
int main(int, char **argv)
2020-05-05 11:11:48 +00:00
{
2020-05-05 12:11:54 +00:00
paxos::ServerConfig config = paxos::ServerConfig::parse(argv[1]);
std::cout << config.legislators_[0].name << "\n";
2020-05-05 11:11:48 +00:00
}