lokinet/client/main.cpp

15 lines
232 B
C++
Raw Normal View History

2018-06-23 00:00:44 +00:00
#include <llarp/api.hpp>
int
main(int argc, char* argv[])
{
std::string url = llarp::api::DefaultURL;
if(argc > 1)
{
url = argv[1];
}
llarp::api::Client cl;
if(!cl.Start(url))
return 1;
return cl.Mainloop();
}