CARDS 2.4.87
Package manager for the NuTyX GNU/Linux distribution
CardsArgumentParser Class Reference
Inheritance diagram for CardsArgumentParser:
ArgParser

Public Member Functions

std::string getAppIdentification () const
 
- Public Member Functions inherited from ArgParser
int addCommand (APCmd &cmd, const std::string &name, const std::string &shortInfo, const std::string &description, ArgNumberCheck argNumberCheck, const int argNumber=-1, const std::string &otherArguments="")
 
int addOption (const APCmd &cmd, APOpt &key, bool required)
 
void parse (int argc, char **argv)
 
APCmd command () const
 
std::string appName () const
 
bool isSet (const APOpt &key) const
 
std::string getOptionValue (const APOpt &key) const
 
const std::vector< std::string > & otherArguments () const
 
void printHelp (const std::string &cmd)
 

Static Public Attributes

static ArgParser::APCmd CMD_HELP
 
static ArgParser::APCmd CMD_CONFIG
 
static ArgParser::APCmd CMD_BASE
 
static ArgParser::APCmd CMD_FILES
 
static ArgParser::APCmd CMD_SYNC
 
static ArgParser::APCmd CMD_INFO
 
static ArgParser::APCmd CMD_QUERY
 
static ArgParser::APCmd CMD_LIST
 
static ArgParser::APCmd CMD_INSTALL
 
static ArgParser::APCmd CMD_DEPCREATE
 
static ArgParser::APCmd CMD_CREATE
 
static ArgParser::APCmd CMD_REMOVE
 
static ArgParser::APCmd CMD_DIFF
 
static ArgParser::APCmd CMD_LEVEL
 
static ArgParser::APCmd CMD_DEPENDS
 
static ArgParser::APCmd CMD_DEPTREE
 
static ArgParser::APCmd CMD_SEARCH
 
static ArgParser::APCmd CMD_PURGE
 
static ArgParser::APCmd CMD_UPGRADE
 
static ArgParser::APOpt OPT_CHECK
 
static ArgParser::APOpt OPT_SIZE
 
static ArgParser::APOpt OPT_FORCE
 
static ArgParser::APOpt OPT_UPDATE
 
static ArgParser::APOpt OPT_INSTALLED
 
static ArgParser::APOpt OPT_BINARIES
 
static ArgParser::APOpt OPT_PORTS
 
static ArgParser::APOpt OPT_IGNORE
 
static ArgParser::APOpt OPT_DISABLE
 
static ArgParser::APOpt OPT_DRY
 
static ArgParser::APOpt OPT_REMOVE
 
static ArgParser::APOpt OPT_ALL
 
static ArgParser::APOpt OPT_LEVEL_SILENCE
 
static ArgParser::APOpt OPT_ROOT
 
static ArgParser::APOpt OPT_CONFIG_FILE
 

Additional Inherited Members

- Public Types inherited from ArgParser
enum  ArgNumberCheck { NONE, MIN, EQ, MAX }
 

Member Function Documentation

◆ getAppIdentification()

std::string CardsArgumentParser::getAppIdentification ( ) const
inlinevirtual
Returns
an application identification to be used in the usage

Reimplemented from ArgParser.


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