blob: 007038d84f6f0d4912de3df2af8ff36ec76abc6f (
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
|
// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "../zen.h"
namespace zen {
/** File serving
*/
class ServeCommand : public ZenCmdBase
{
public:
ServeCommand();
~ServeCommand();
virtual int Run(const ZenCliOptions& GlobalOptions, int argc, char** argv) override;
virtual cxxopts::Options& Options() override { return m_Options; }
private:
cxxopts::Options m_Options{"serve", "Serve files from a tree"};
std::string m_HostName;
std::string m_ProjectName;
std::string m_OplogName;
std::string m_RootPath;
};
} // namespace zen
|