| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
#pragma once |
| 5 |
|
| 6 |
#include <memory> |
| 7 |
#include <string> |
| 8 |
#include <vector> |
| 9 |
|
| 10 |
namespace optparse |
| 11 |
{ |
| 12 |
class OptionParser; |
| 13 |
class Values; |
| 14 |
} |
| 15 |
|
| 16 |
namespace CommandLineParse |
| 17 |
{ |
| 18 |
enum class ParserOptions |
| 19 |
{ |
| 20 |
IncludeGUIOptions, |
| 21 |
OmitGUIOptions, |
| 22 |
}; |
| 23 |
|
| 24 |
std::unique_ptr<optparse::OptionParser> CreateParser(ParserOptions options); |
| 25 |
optparse::Values& ParseArguments(optparse::OptionParser* parser, int argc, char** argv); |
| 26 |
optparse::Values& ParseArguments(optparse::OptionParser* parser, |
| 27 |
const std::vector<std::string>& arguments); |
| 28 |
} |