C# Class ServiceClientGenerator.CommandArguments

Parses the command line into argument settings controlling the sdk code generator.
Datei anzeigen Open project: aws/aws-sdk-net Class Usage Examples

Public Methods

Method Description
Parse ( string cmdlineArgs ) : CommandArguments

Takes the command line arguments, fuses them with any response file that may also have been specified, and parses them.

Private Methods

Method Description
AddResponseFileArguments ( string responseFile, ICollection args ) : void
CommandArguments ( ) : System
FindArgDeclaration ( string argument ) : ArgDeclaration

Scans the argument declaration table to find a matching entry for a token from the command line that is potentially an option keyword.

IsSwitch ( string argument ) : bool

Returns true if the supplied value has a argument prefix indicator, marking it as an argumentkeyword.

Process ( IEnumerable cmdlineArgs ) : void
ResolvePath ( string filePath ) : string

Resolves any relatively pathed filename.

Method Details

Parse() public static method

Takes the command line arguments, fuses them with any response file that may also have been specified, and parses them.
public static Parse ( string cmdlineArgs ) : CommandArguments
cmdlineArgs string The set of arguments supplied to the program
return CommandArguments