Méthode | Description | |
---|---|---|
CommandLineParser ( IEnumerable |
Constructs a command line parser
|
|
ParseArguments ( string commandLineArgs, ILogger logger, IEnumerable |
Parses the supplied arguments. Logs errors for unrecognized, duplicate or missing arguments.
|
Méthode | Description | |
---|---|---|
CheckRequiredArgumentsSupplied ( IEnumerable |
Checks whether any required arguments are missing and logs error messages for them.
|
|
IdExists ( string id, IEnumerable |
||
TryGetMatchingDescriptor ( string argument, SonarQube.Common.ArgumentDescriptor &descriptor, string &prefix ) : bool |
Attempts to find a descriptor for the current argument
|
|
TryGetMatchingPrefix ( SonarQube.Common.ArgumentDescriptor descriptor, string argument ) : string |
public CommandLineParser ( IEnumerable |
||
descriptors | IEnumerable |
List of descriptors that specify the valid argument types |
allowUnrecognized | bool | True if unrecognized arguments should be ignored |
Résultat | System |
public ParseArguments ( string commandLineArgs, ILogger logger, IEnumerable |
||
commandLineArgs | string | |
logger | ILogger | |
argumentInstances | IEnumerable |
A list of argument instances that have been recognized |
Résultat | bool |