diff options
| author | Stefan Boberg <[email protected]> | 2023-12-19 12:06:13 +0100 |
|---|---|---|
| committer | GitHub <[email protected]> | 2023-12-19 12:06:13 +0100 |
| commit | 519d942d809e740a3b1fe5a1f6a57a4cfe43408b (patch) | |
| tree | 9b3c084e21bb7fd5e6bb3335e890647062d0703b /src/zen/cmds/info_cmd.h | |
| parent | added mimalloc_hooks (diff) | |
| parent | ensure we can build without trace (#619) (diff) | |
| download | archived-zen-273-integrated-memory-tracking.tar.xz archived-zen-273-integrated-memory-tracking.zip | |
Merge branch 'main' into 273-integrated-memory-tracking273-integrated-memory-tracking
Diffstat (limited to 'src/zen/cmds/info_cmd.h')
| -rw-r--r-- | src/zen/cmds/info_cmd.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/src/zen/cmds/info_cmd.h b/src/zen/cmds/info_cmd.h new file mode 100644 index 000000000..9723a075b --- /dev/null +++ b/src/zen/cmds/info_cmd.h @@ -0,0 +1,24 @@ +// Copyright Epic Games, Inc. All Rights Reserved. + +#pragma once + +#include "../zen.h" + +namespace zen { + +class InfoCommand : public ZenCmdBase +{ +public: + InfoCommand(); + ~InfoCommand(); + + virtual int Run(const ZenCliOptions& GlobalOptions, int argc, char** argv) override; + virtual cxxopts::Options& Options() override { return m_Options; } + // virtual ZenCmdCategory& CommandCategory() const override { return g_UtilitiesCategory; } + +private: + cxxopts::Options m_Options{"info", "Show high level zen store information"}; + std::string m_HostName; +}; + +} // namespace zen |