Command line options parser.
More...
#include <cli.hpp>
|
| Options (int argc, char *argv[]) |
| Constructor. More...
|
|
const std::vector< std::string > & | urls () const |
| Return array of urls to parse. More...
|
|
Command line options parser.
Options::Options |
( |
int |
argc, |
|
|
char * |
argv[] |
|
) |
| |
Constructor.
- Parameters
-
argc | The argc parameter of main() function. |
argv | The argv parameter of main() function. |
const std::vector< std::string > & Options::urls |
( |
| ) |
const |
Return array of urls to parse.
const char * Options::usage |
|
static |
Initial value:=
R"(Lazy RSS scrapper.
Usage:
get_rss [options] url...
Options:
-h, --help Display this message.
)"
Getter of usage.
The documentation for this class was generated from the following files: