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

#pragma once

#include "../zen.h"

namespace 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; }
	virtual ZenCmdCategory&	  CommandCategory() const override { return g_UtilitiesCategory; }

private:
	cxxopts::Options m_Options{"run", "Run executable"};
	int				 m_RunCount = 0;
	int				 m_RunTime	= -1;
	std::string		 m_BaseDirectory;
	int				 m_MaxBaseDirectoryCount = 10;
};

}  // namespace zen