PackBinary/cmd_parse.h

20 lines
310 B
C
Raw Normal View History

2024-10-27 15:51:46 +08:00
#ifndef CMD_PARSE_HEADER
#define CMD_PARSE_HEADER
#include "public.hpp"
2024-10-29 12:42:11 +08:00
#include <boost/program_options.hpp>
2024-10-27 15:51:46 +08:00
2024-10-29 12:42:11 +08:00
namespace cmd = boost::program_options;
2024-10-27 15:51:46 +08:00
2024-10-29 12:42:11 +08:00
class CCmdParse
2024-10-27 15:51:46 +08:00
{
2024-10-29 12:42:11 +08:00
public:
CCmdParse();
public:
bool cmdParse(int argc, char* argv[]);
bool checkArgs();
2024-10-27 15:51:46 +08:00
private:
CmdResult result_;
};
#endif