#pragma once #include "actiondep.h" #include "merrors.h" using michlib::message; ADD_ACTION(Info, info, InfoSupported); template MString ActionInfo::DoAction([[maybe_unused]] const CLArgs& args, D& data) { auto info = data.Info(); if(!info.Exist()) return "No info"; message(info); return ""; };