public static GeneralOptions ParseCommandLineArguments(string[] args, Dictionary <string, IMethodAnalysis> analyzers, Dictionary <string, IClassAnalysis> classanalyzers, out string[] nonGeneralArguments) { var options = new FilteringGeneralOptions(args, analyzers, classanalyzers); nonGeneralArguments = options.GetNonGeneralArguments(); return(options); }
private NewCCI2Driver(string[] args, ISimpleLineWriter output) { /* TODO: argsForWorker * We currently keep all the arguments except the general arguments * But we should also remove arguments like -select, -namespaceSelect, -typenameSelect, -memberNameSelect -analyzeFrom, -analyzeTo (or translate them) */ this.options = FilteringGeneralOptions.ParseCommandLineArguments(args, this.methodAnalyzers, this.classAnalyzers, out this.argsForWorker); this.output = output; }
public static GeneralOptions ParseCommandLineArguments(string[] args, Dictionary<string, IMethodAnalysis> analyzers, Dictionary<string, IClassAnalysis> classanalyzers, out string[] nonGeneralArguments) { var options = new FilteringGeneralOptions(args, analyzers, classanalyzers); nonGeneralArguments = options.GetNonGeneralArguments(); return options; }