27 lines
435 B
C++
27 lines
435 B
C++
#pragma once
|
|
|
|
#include <unordered_map>
|
|
#include <string>
|
|
|
|
#include <CLI11.hpp>
|
|
|
|
#include "cli_command.hpp"
|
|
|
|
namespace calrt
|
|
{
|
|
namespace calrtcli
|
|
{
|
|
class CliParser
|
|
{
|
|
public:
|
|
CliParser(CLI::App &app);
|
|
~CliParser();
|
|
|
|
int ParsingAndExecute(int argc, char **argv);
|
|
|
|
private:
|
|
CLI::App *mApp;
|
|
CalrtCLICommand *mCmd;
|
|
};
|
|
}
|
|
} |