Skip to content

Commit

Permalink
Merge pull request #138 from Habbie/cli-dump-command-start
Browse files Browse the repository at this point in the history
voorkant-cli dump-command: actually have a running client thread
  • Loading branch information
cyclops1982 authored Dec 5, 2024
2 parents 79457fd + c8e286e commit ed16c8a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/front-cli.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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<string>("data"));
json res = HABackend::getInstance().doCommand(dump_command.get<string>("command"), data);
cout << res.dump(2) << endl;
Expand Down

0 comments on commit ed16c8a

Please sign in to comment.