public ToolListLocalCommand( ParseResult parseResult, IToolManifestInspector toolManifestInspector = null, IReporter reporter = null) : base(parseResult) { _reporter = (reporter ?? Reporter.Output); _toolManifestInspector = toolManifestInspector ?? new ToolManifestFinder(new DirectoryPath(Directory.GetCurrentDirectory())); }
public ToolListLocalCommand( AppliedOption appliedCommand, ParseResult parseResult, IToolManifestInspector toolManifestInspector = null, IReporter reporter = null) : base(parseResult) { if (appliedCommand == null) { throw new ArgumentNullException(nameof(appliedCommand)); } _reporter = (reporter ?? Reporter.Output); _toolManifestInspector = toolManifestInspector ?? new ToolManifestFinder(new DirectoryPath(Directory.GetCurrentDirectory())); }