Files
docker-voltronic-homeassistant/sources/voltronic-cli/inputparser.h
T
2019-05-28 14:27:57 +10:00

18 lines
402 B
C++

// inputparser.h
// @author iain
#ifndef INPUTPARSER_H
#define INPUTPARSER_H
#include <vector>
class InputParser
{
std::vector <std::string> tokens;
public:
InputParser (int &argc, char **argv);
const std::string& getCmdOption(const std::string &option) const;
bool cmdOptionExists(const std::string &option) const;
};
#endif // ___INPUTPARSER_H