/
githubmirror
/
nbs
Обзор
Документация
Войти
/
githubmirror
/
nbs
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
cloud/filestore/tools/analytics/profile_tool/lib/command.h
31 строка
674 B
asorotsky
opensource filestore root; p #2;
18 дек 2023, 18:26
18 дек 2023, 18:26
fab997d
Код
Авторство
О чём код?
#pragma once #include <library/cpp/getopt/small/last_getopt.h> namespace NCloud::NFileStore::NProfileTool { //////////////////////////////////////////////////////////////////////////////// class TCommand { protected: NLastGetopt::TOpts Opts; TMaybe<NLastGetopt::TOptsParseResultException> OptsParseResult; TString PathToProfileLog; public: TCommand(); virtual ~TCommand() = default; int Run(int argc, const char** argv); const NLastGetopt::TOpts& GetOpts() const; protected: virtual bool Init(NLastGetopt::TOptsParseResultException& parseResult); virtual int Execute() = 0; }; } // namespace NCloud::NFileStore::NProfileTool