RADLib
RADical C++ application framework
RADCLI.h File Reference

Command-line parsing and application utility helpers. More...

#include <RADCore/RADCore.h>
#include <map>
#include <optional>
#include <string>
#include <vector>
+ Include dependency graph for RADCLI.h:

Go to the source code of this file.

Classes

struct  RADCLI::Option
 One command-line option definition. More...
 
class  RADCLI::ParseResult
 Parsed command-line result. More...
 
class  RADCLI::CommandLineParser
 Small command-line parser for RADLib tools and examples. More...
 

Namespaces

 RADCLI
 

Functions

std::optional< std::string > RADCLI::environmentVariable (const std::string &name)
 Returns an environment variable value when present. More...
 
bool RADCLI::setEnvironmentVariable (const std::string &name, const std::string &value, bool overwrite=true)
 Sets or unsets an environment variable. More...
 
std::string RADCLI::executablePath ()
 Returns the current executable path when available. More...
 
std::string RADCLI::currentUserName ()
 Returns the current username when available. More...
 
std::string RADCLI::radlibVersionString ()
 Returns the RADLib version string. More...
 

Detailed Description

Command-line parsing and application utility helpers.