A class for representing arguments of built-in scripts represented by BuiltInScript.
More...
#include <buildincmd.h>
|
void | parser (const std::string &option) |
| Parse characters between argument name and its description and check if its an optional one.
|
|
A class for representing arguments of built-in scripts represented by BuiltInScript.
◆ anonymous enum
Enumerator |
---|
ARG_MUST | |
ARG_OPTION | |
ARG_OPTION_KEY | |
◆ parser()
void BuiltInScript::Arg::parser |
( |
const std::string & | option | ) |
|
Parse characters between argument name and its description and check if its an optional one.
- Parameters
-
[in] | option | The characters between argument name and its description to be parsed |
- Returns
0
in any case
◆ m_desc
std::string BuiltInScript::Arg::m_desc |
A description of the argument.
◆ m_fallback_option
std::string BuiltInScript::Arg::m_fallback_option |
The argument whose value this one will fall back to if it's optional and not given explicitly
◆ m_flags
uint32_t BuiltInScript::Arg::m_flags = ARG_MUST |
Flags of the argument (basically if it's optional or not)
◆ m_name
std::string BuiltInScript::Arg::m_name |
The name of the argument.
The documentation for this class was generated from the following files:
- /home/builder/.cache/aurutils/sync/mfgtools-git/src/mfgtools-git/uuu/buildincmd.h
- /home/builder/.cache/aurutils/sync/mfgtools-git/src/mfgtools-git/uuu/buildincmd.cpp