OpenEnroth 73e68f7
Loading...
Searching...
No Matches
Public Member Functions | Private Types | List of all members
CliApp Class Reference

#include <CliApp.h>

Inheritance diagram for CliApp:

Public Member Functions

template<class SubcommandEnum >
CliAppadd_subcommand (std::string name, std::string description, SubcommandEnum &target, SubcommandEnum targetValue)
 
void parse (int argc, const char *const *argv, bool &helpPrinted)
 

Private Types

using base_type = CLI::App
 

Detailed Description

A thin wrapper around CLI:App that simplifies the code for our use cases.

Member Typedef Documentation

◆ base_type

using CliApp::base_type = CLI::App
private

Member Function Documentation

◆ add_subcommand()

template<class SubcommandEnum >
CliApp * CliApp::add_subcommand ( std::string  name,
std::string  description,
SubcommandEnum &  target,
SubcommandEnum  targetValue 
)
inline

◆ parse()

void CliApp::parse ( int  argc,
const char *const *  argv,
bool &  helpPrinted 
)

The documentation for this class was generated from the following files: