RawConfiguration

Handle parsing of user arguments.

For a simple plugin this is overly complex. But a plugin very seldom stays simple. By keeping the user input parsing and validation separate from the rest of the program it become more robust to future changes.

Members

Functions

parse
void parse(string[] args)
Undocumented in source. Be warned that the author may not have intended to support it.
printHelp
void printHelp()
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

cflags
string[] cflags;
Undocumented in source.
compileDb
string[] compileDb;
Undocumented in source.
errorHelp
bool errorHelp;
Undocumented in source.
files
string[] files;
Undocumented in source.
help
bool help;
Undocumented in source.
mccabe
bool mccabe;
Undocumented in source.
mccabeThreshold
int mccabeThreshold;
Undocumented in source.
outdir
string outdir;
Undocumented in source.
outputJson
bool outputJson;
Undocumented in source.
outputStdout
bool outputStdout;
Undocumented in source.
restrictDir
string restrictDir;
Undocumented in source.
shortPluginHelp
bool shortPluginHelp;
Undocumented in source.
workerThreads
int workerThreads;
Undocumented in source.

Meta