From c8e286e0c45875ce5283a36fe7ff9686d50a368d Mon Sep 17 00:00:00 2001 From: Peter van Dijk Date: Mon, 18 Nov 2024 20:21:13 +0100 Subject: [PATCH] voorkant-cli dump-command: actually have a running client thread I suspect we broke this in #79 --- src/front-cli.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/front-cli.cpp b/src/front-cli.cpp index a1a3f63f..f407db00 100644 --- a/src/front-cli.cpp +++ b/src/front-cli.cpp @@ -116,6 +116,7 @@ void uithread(int _argc, char* _argv[]) } } else if (program.is_subcommand_used(dump_command)) { + HABackend::getInstance().start(); json data = json::parse(dump_command.get("data")); json res = HABackend::getInstance().doCommand(dump_command.get("command"), data); cout << res.dump(2) << endl;