aboutsummaryrefslogtreecommitdiff
path: root/zen/cmds/run.h
blob: 3e1e3f2b210f028572865f68659eb50c7d995896 (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
// Copyright Epic Games, Inc. All Rights Reserved.

#pragma once

#include "../zen.h"

namespace zen {

/** Execute a command (using Zen)
 */
class RunCommand : public ZenCmdBase
{
public:
	RunCommand();
	~RunCommand();

	virtual int				  Run(const ZenCliOptions& GlobalOptions, int argc, char** argv) override;
	virtual cxxopts::Options* Options() override { return &m_Options; }

private:
	cxxopts::Options m_Options{"run", "Run command"};
	std::string		 m_TargetHost;
	std::string		 m_ExeTree;
};

}  // namespace zen