blob: 80729901eb83d5744fe03dcadf87504a0710fbc9 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "../zen.h"
namespace zen {
/** Print Compact Binary
*/
class PrintCommand : public ZenCmdBase
{
public:
PrintCommand();
~PrintCommand();
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{"print", "Print compact binary object"};
std::filesystem::path m_Filename;
bool m_ShowCbObjectTypeInfo = false;
};
/** Print Compact Binary Package
*/
class PrintPackageCommand : public ZenCmdBase
{
public:
PrintPackageCommand();
~PrintPackageCommand();
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{"printpkg", "Print compact binary package"};
std::filesystem::path m_Filename;
bool m_ShowCbObjectTypeInfo = false;
};
} // namespace zen
|