C# Class Net.Sf.Dbdeploy.OptionsManager

Manages all options for the command line.
Datei anzeigen Open project: brunomlopes/dbdeploy.net

Public Methods

Method Description
ParseOptions ( string args ) : Net.Sf.Dbdeploy.Configuration.DbDeploymentsConfig

Parses the specified args into a deployments configuration.

PrintUsage ( ) : void

Prints the options usage.

Private Methods

Method Description
Initialize ( DbDeployConfig config, Net.Sf.Dbdeploy.ConfigFileInfo configFile ) : OptionSet

Initializes the specified config.

StripQuotes ( string value ) : string

Strips the quotes from around the value.

Method Details

ParseOptions() public static method

Parses the specified args into a deployments configuration.
Throws when unknown or invalid parameters are found.
public static ParseOptions ( string args ) : Net.Sf.Dbdeploy.Configuration.DbDeploymentsConfig
args string The args.
return Net.Sf.Dbdeploy.Configuration.DbDeploymentsConfig

PrintUsage() public static method

Prints the options usage.
public static PrintUsage ( ) : void
return void