#define MICHLIB_NOSOURCE #include "GPL.h" #include "odm.h" int actioninfo(const CLArgs& args) { if(!args.contains("source")) { errmessage("No source specified!"); return 1; } Data data; if(args.at("source") == "NEMO") { NEMOData ndata = NEMOOpen(args); if(!ndata) { errmessage("Can't open NEMO dataset"); return 1; } data = DataVariants(std::move(ndata)); } else { errmessage("Unknown source " + args.at("source")); return 1; } message(data.Info()); return 0; }