10 #include "application.hh" 17 LOGGER(
dlog,
"simple_service" );
19 int main(
int argc,
char** argv )
21 scarab::main_app the_main;
23 the_main.set_version( version_store::get_instance()->versions().at(
"dripline-cpp" ) );
31 auto t_service_callback = [&](){
32 auto the_service = std::make_shared< simple_service >( the_main.master_config()[
"dripline"].as_node() );
34 the_service->execute();
36 the_return = the_service->get_return();
39 the_main.callback( t_service_callback );
41 CLI11_PARSE( the_main, argc, argv );
int main(int argc, char **argv)
Sets the default configuration used by core.
static scarab::logger dlog("agent")
void add_dripline_options(scarab::main_app &an_app)
Add basic AMQP options to an app object.