Files
stvpn/helmetcli.cpp
T
Олег Бородин 9540ac05d4 working commit
2026-05-06 15:10:19 +02:00

24 lines
486 B
C++

#include <expected>
#include <string>
#include <cstring>
#include <uxlogger.hpp>
#include <uxclient.hpp>
int main(int argc, char** argv) {
UxClient client;
auto connectRes = client.Connect("127.0.0.1", 1025);
if (!connectRes) {
uxlogger.Log(connectRes.error());
return 1;
}
auto runRes = client.Run();
if (!runRes) {
uxlogger.Log(runRes.error());
return 1;
}
}