Lazy RSS
Public Member Functions | Static Public Attributes | List of all members
cli::Options Class Reference

Command line options parser. More...

#include <cli.hpp>

Public Member Functions

 Options (int argc, char *argv[])
 Constructor. More...
 
const std::vector< std::string > & urls () const
 Return array of urls to parse. More...
 

Static Public Attributes

static const char * usage
 Getter of usage. More...
 

Detailed Description

Command line options parser.

Constructor & Destructor Documentation

Options::Options ( int  argc,
char *  argv[] 
)

Constructor.

Parameters
argcThe argc parameter of main() function.
argvThe argv parameter of main() function.

Member Function Documentation

const std::vector< std::string > & Options::urls ( ) const

Return array of urls to parse.

Member Data Documentation

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: