37 std::ostream& output = std::cout;
40 bool output_json =
false;
46 {
"engine", CLOE_ENGINE_VERSION},
47 {
"build_date", CLOE_ENGINE_TIMESTAMP},
48 {
"stack", CLOE_STACK_VERSION},
49 {
"plugin_manifest", CLOE_PLUGIN_MANIFEST_VERSION},
50 {
"feature_server", CLOE_ENGINE_WITH_SERVER ? true :
false},
53 if (opt.output_json) {
54 opt.output << v.dump(opt.json_indent) << std::endl;
56 auto env = cloe::utility::inja_env();
57 opt.output << env.render(R
"(Cloe [[engine]] 59 Engine Version: [[engine]] 60 Build Date: [[build_date]] 62 Plugin Manifest: [[plugin_manifest]] 64 server: [[feature_server]]
Definition: main_version.hpp:36
Definition: coordinator.cpp:39