C# Class Cake.Arguments.ArgumentParser

Inheritance: IArgumentParser
显示文件 Open project: SimpleGitVersion/CodeCake Class Usage Examples

Public Methods

Method Description
ArgumentParser ( ICakeLog log, IFileSystem fileSystem ) : System
Parse ( IEnumerable args ) : CakeOptions

Private Methods

Method Description
GetDefaultScript ( ) : string
IsOption ( string arg ) : bool
ParseOption ( string arg, CakeOptions options ) : bool
ParseOption ( string name, string value, CakeOptions options ) : bool

Method Details

ArgumentParser() public method

public ArgumentParser ( ICakeLog log, IFileSystem fileSystem ) : System
log ICakeLog
fileSystem IFileSystem
return System

Parse() public method

public Parse ( IEnumerable args ) : CakeOptions
args IEnumerable
return CakeOptions